Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: LayoutTests/editing/selection/skip-over-contenteditable.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 5
6 <p id="before">Before the contenteditable</p> 6 <p id="before">Before the contenteditable</p>
7 <div contentEditable></div> 7 <div contentEditable></div>
8 <p id="after">After the contenteditable</p> 8 <p id="after">After the contenteditable</p>
9 9
10 <div id="console"></div> 10 <div id="console"></div>
(...skipping 22 matching lines...) Expand all
33 33
34 sel.setBaseAndExtent(before, 0, before, 6); 34 sel.setBaseAndExtent(before, 0, before, 6);
35 sel.modify("extend", "forward", "line"); 35 sel.modify("extend", "forward", "line");
36 shouldBe("sel.focusNode.parentElement", "after"); 36 shouldBe("sel.focusNode.parentElement", "after");
37 37
38 sel.setBaseAndExtent(after, 5, after, 0); 38 sel.setBaseAndExtent(after, 5, after, 0);
39 sel.modify("extend", "backward", "line"); 39 sel.modify("extend", "backward", "line");
40 shouldBe("sel.focusNode.parentElement", "before"); 40 shouldBe("sel.focusNode.parentElement", "before");
41 </script> 41 </script>
42 42
43 <script src="../../fast/js/resources/js-test-post.js"></script>
44 </body> 43 </body>
45 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698