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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/deleting/merge_paragraph_from_h6.html

Issue 2336173002: Convert editing/deleting/merge-paragraph-from-h6*.html to use w3c test harness (Closed)
Patch Set: 2016-09-13T18:24:31 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 | « third_party/WebKit/LayoutTests/editing/deleting/merge-paragraph-from-h6-with-style-expected.txt ('k') | no next file » | 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(() =>assert_selection(
7 [
8 '<div contenteditable>',
9 'foo<h6>|bar</h6>',
10 '</div>',
11 ].join(''),
12 'delete',
13 [
14 '<div contenteditable>',
15 'foo|bar',
16 '</div>',
17 ].join('')),
18 '1 deleting line break before H6');
19
20 test(() =>assert_selection(
21 [
22 '<div contenteditable>',
23 '<em>foo</em><h6><font color="red">|bar</font></h6>',
24 '</div>',
25 ].join(''),
26 'delete',
27 [
28 '<div contenteditable>',
29 '<em>foo|</em><span style="color: red;">bar</span>',
30 '</div>',
31 ].join('')),
32 '2 deleting line break before H6+FONT');
33
34 test(() =>assert_selection(
35 [
36 '<div contenteditable>',
37 '<em>foo</em><h6><font color="blue" style="color:red">|bar</font ></h6>',
38 '</div>',
39 ].join(''),
40 'delete',
41 [
42 '<div contenteditable>',
43 '<em>foo|</em><span style="color: red;">bar</span>',
44 '</div>',
45 ].join('')),
46 '3 deleting line break before H6 with style');
47 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/editing/deleting/merge-paragraph-from-h6-with-style-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698