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

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

Issue 58533003: Move fast/js/resources files to resources. (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="../../resources/js-test.js"></script>
5 5
6 <div contentEditable> 6 <div contentEditable>
7 <p id="before">Before</p> 7 <p id="before">Before</p>
8 <p id="middle" contentEditable="false">Middle</p> 8 <p id="middle" contentEditable="false">Middle</p>
9 <p id="after">After</p> 9 <p id="after">After</p>
10 </div> 10 </div>
11 11
12 <div id="console"></div> 12 <div id="console"></div>
13 <script> 13 <script>
14 description("Ensure that extending a selection inside a contentEditable skips pa st an uneditable region."); 14 description("Ensure that extending a selection inside a contentEditable skips pa st an uneditable region.");
(...skipping 22 matching lines...) Expand all
37 sel.modify("extend", "forward", "line"); 37 sel.modify("extend", "forward", "line");
38 shouldBe("sel.focusNode.parentElement", "after"); 38 shouldBe("sel.focusNode.parentElement", "after");
39 39
40 sel.setBaseAndExtent(after, 5, after, 0); 40 sel.setBaseAndExtent(after, 5, after, 0);
41 sel.modify("extend", "backward", "line"); 41 sel.modify("extend", "backward", "line");
42 shouldBe("sel.focusNode.parentElement", "before"); 42 shouldBe("sel.focusNode.parentElement", "before");
43 </script> 43 </script>
44 44
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/selection/skip-over-contenteditable.html ('k') | LayoutTests/editing/selection/stay-in-textarea.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698