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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/selection/4932260-1.html

Issue 2446893006: Convert editing/selection/4932260-[123].html to utilize w3c test harness (Closed)
Patch Set: 2016-10-28T12:57:04 Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/4932260-2.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <p>This tests for a bug where images would act as sentence boundaries.</p>
2 <div id="div" contenteditable="true">The caret should be <img src="../resources/ abe.png">at the beginning of this sentence.</div>
3
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpEditingCallbacks();
7 var sel = window.getSelection();
8 var div = document.getElementById("div");
9 sel.collapse(div, 0);
10 sel.modify("move", "forward", "sentence");
11 sel.collapse(div, div.childNodes.length);
12 sel.modify("move", "backward", "sentence");
13 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/4932260-2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698