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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/deleting/merge-into-empty-block-2.html

Issue 2451983002: Convert editing/deleting/merge-into-empty-block-[12].html to utilize w3c test harness (Closed)
Patch Set: 2016-10-26T14:01:59 Created 4 years, 1 month 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
OLDNEW
(Empty)
1 <p id="description">When a user puts the caret at the very beginning a list and hits delete into an empty line, the list should just move up.</p>
2 <div contenteditable="true"><div><br></div><ul><li><span id="test">foo</span></l i></ul></div>
3 <script src="../../resources/dump-as-markup.js"></script>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpEditingCallbacks();
7
8 var e = document.getElementById("test");
9 window.getSelection().collapse(e, 0);
10
11 document.execCommand("Delete");
12
13 Markup.description(document.getElementById('description').textContent);
14 Markup.dump(document.querySelector('div'));
15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698