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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/execCommand/4641880-2.html

Issue 2267363005: Convert editing/execCommand/4641880-2.html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-08-24T17:39:32 Created 4 years, 4 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 | third_party/WebKit/LayoutTests/editing/execCommand/indent_at_end_of_paragraph.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 Indent on a selection that ends at the start of a paragraph. Sinc e we don't paint the gap before the paragraph for most selections like this, we don't perform Indent on the paragraph that the selection ends in.</p>
2 <div id="div" contenteditable="true">
3 This paragraph should be indented.<br>
4 This paragraph should not be indented.</br>
5 </div>
6
7 <script>
8 if (window.testRunner)
9 window.testRunner.dumpEditingCallbacks();
10
11 var div = document.getElementById("div");
12 var sel = window.getSelection();
13 sel.collapse(div, 0);
14 sel.modify("extend", "forward", "line");
15 document.execCommand("Indent");
16 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/execCommand/indent_at_end_of_paragraph.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698