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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/deleting/delete-block-contents.html

Issue 2170273002: Convert editing/deleting/delete-block-content-00[123].html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-07-22T11:11:22 Created 4 years, 5 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/deleting/delete-block-contents-001.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 <!doctype html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <script src="../assert_selection.js"></script>
5 <script>
6 test(() => {
7 assert_selection(
8 '<div contenteditable><span>|foo bar baz</span></div>',
9 selection => {
10 selection.document.execCommand('selectAll');
11 selection.document.execCommand('delete');
12 },
13 '<div contenteditable>|<br></div>',
14 'Delete after select all in SPAN');
15 assert_selection(
16 '<div contenteditable><span>^foo bar baz|</span></div>',
17 'delete',
18 '<div contenteditable>|<br></div>',
19 'Delete all contens in SPAN');
20 }, 'Delete block');
21 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/deleting/delete-block-contents-001.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698