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

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

Issue 2341953005: Convert editing/pasteboard/displaced-{,generic-}placeholder.html.html to use w3c test harness (Closed)
Patch Set: 2016-09-15T18:48:33 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/pasteboard/displaced-generic-placeholder.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(() => assert_selection(
7 '<div contenteditable>|<br></div>',
8 'insertHTML abc<div>def</div>',
9 '<div contenteditable>abc<div>def|</div></div>'),
10 'displaced generic placeholder');
11
12 // Note: Blink doesn't use class="webkit-block-placeholder" anymore.
13 test(() => assert_selection(
14 '<div contenteditable>|<br class="webkit-block-placeholder"></div>',
15 'insertHTML abc<div>def</div>',
16 '<div contenteditable>abc<div>def|</div></div>'),
17 'displaced placeholder with "class" attribute');
18 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/pasteboard/displaced-generic-placeholder.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698