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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/deleting/merge-paragraph-into-pre.html

Issue 2289093002: Convert editing/deleting/merge-paragraph-into-pre.html to use w3c test harness (Closed)
Patch Set: 2016-08-30T18:28:04 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/editing/deleting/merge-paragraph-into-pre-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
1 <!DOCTYPE html> 1 <!doctype html>
2 <html> 2 <script src="../../resources/testharness.js"></script>
3 <body> 3 <script src="../../resources/testharnessreport.js"></script>
4 <p id="description">This tests deleting line break after pre. 4 <script src="../assert_selection.js"></script>
5 WebKit should not cancel styles added by pre by those of document's default styl e.</p>
6 <div id="test" contenteditable>
7 <pre>hello</pre>
8 world
9 </div>
10 </div>
11 <script src="../editing.js"></script>
12 <script src="../../resources/dump-as-markup.js"></script>
13 <script> 5 <script>
14 6 test(() => assert_selection(
15 function editingTest() { 7 '<div contenteditable><pre>hello</pre>\n|world</div>',
16 moveSelectionForwardByLineCommand(); 8 'delete',
17 deleteCommand(); 9 // We should not cancel styles added BY PRE by those of document's
18 10 // default style.
19 Markup.description(document.getElementById('description').textContent); 11 '<div contenteditable><pre>hello|world</pre></div>'),
20 Markup.dump('test'); 12 'Delete line break after PRE');
21 }
22
23 runEditingTest();
24 </script> 13 </script>
25 </body>
26 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/deleting/merge-paragraph-into-pre-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698