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

Side by Side Diff: LayoutTests/editing/selection/13804.html

Issue 225183005: Refactoring editing/selection/13804.html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 months 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 | LayoutTests/editing/selection/13804-expected.txt » ('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 when moving the caret backward through a misspelled word . Once the caret is no longer adjacent to it it should be marked as misspelled.< /p>
2 <div id="div" contenteditable="true"><br></div>
3
4 <script>
5 var div = document.getElementById("div");
6 div.focus();
7 document.execCommand("InsertText", false, "This sentence ends with a misspelled word asd.");
8 var selection = window.getSelection();
9 selection.modify("move", "backward", "character");
10 selection.modify("move", "backward", "character");
11 selection.modify("move", "backward", "character");
12 selection.modify("move", "backward", "character");
13 selection.modify("move", "backward", "character");
14 selection.modify("move", "backward", "character");
15 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/selection/13804-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698