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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/inserting/insert_interchange_newline_crash.html

Issue 2184623002: Convert editing/pasteboard/pasteboard/paste-4038267-fix.html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-07-26T17:27:35 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/pasteboard/paste-4038267-fix.html » ('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 <script src="../../resources/testharness.js"></script> 2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script> 3 <script src="../../resources/testharnessreport.js"></script>
4 <script src="../assert_selection.js"></script> 4 <script src="../assert_selection.js"></script>
5 <script> 5 <script>
6 test(() => assert_selection( 6 test(() => assert_selection(
7 [ 7 [
8 '<div contenteditable>', 8 '<div contenteditable>',
9 '<span id="test">foo</span><br><br>|bar', 9 '<div>foo^</div><div>|bar</div>',
10 '</div>', 10 '</div>',
11 ].join(''), 11 ].join(''),
12 'insertParagraph', 12 'insertHTML <br class="Apple-interchange-newline">',
13 [ 13 [
14 '<div contenteditable>', 14 '<div contenteditable>',
15 '<span id="test">foo</span><br><br><br><div>|bar</div>', 15 '<div>foo</div><div>|bar</div>',
16 '</div>', 16 '</div>',
17 ].join('')), 17 ].join('')),
18 'Insert BR and enclose "bar" with DIV'); 18 'interchange-newline does nothing for DIV');
19 </script> 19 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/pasteboard/paste-4038267-fix.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698