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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-root.html

Issue 2264283004: Convert editing/execCommand/indent-empty-root.html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-08-24T18:07:45 Created 4 years, 3 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/platform/linux/editing/execCommand/indent-empty-root-expected.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <script src="../assert_selection.js"></script>
1 <script> 5 <script>
2 if (window.testRunner) 6 test(() => assert_selection(
3 testRunner.dumpEditingCallbacks(); 7 '<div contenteditable>|</div>',
8 'indent',
9 [
10 '<div contenteditable>',
11 '<blockquote style="margin: 0 0 0 40px; border: none; padding: 0 px;">',
12 '|<br>',
13 '</blockquote>',
14 '</div>',
15 ].join('')),
16 'Indent in an empty editable element');
4 </script> 17 </script>
5 <body>
6 <p>This tests Indent in an empty editable element.</p>
7 <div id="div" contentEditable="true"></div>
8
9 <script>
10 var div = document.getElementById("div");
11 var sel = window.getSelection();
12 sel.collapse(div, 0);
13 document.execCommand("Indent");
14 </script>
15 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/indent-empty-root-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698