- add third_party src.
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / inserting / return-key-span-start.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div contenteditable id="root"><span id="dupe">hello</span></div>
5 <script src="../../resources/dump-as-markup.js"></script>
6 <script>
7 var sel = window.getSelection();
8 sel.setPosition(document.getElementById("dupe"), 0);
9 document.execCommand('InsertParagraph', false, null)
10 Markup.description("This sets the selection to the start of a span, and hits the enter key.\n"
11     + "Expected behavior: when the span is split, its ID should not be duplicated. See bug 62621.");
12 Markup.dump(root);
13 </script>
14 </body>
15 </html>