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

Side by Side Diff: LayoutTests/editing/deleting/merge-list-items-in-same-list.html

Issue 242733004: canMergeLists() should make sure that the list items do not belong to the same list (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
OLDNEW
(Empty)
1 <!DOCTYPE>
yosin_UTC9 2014/04/22 04:42:52 nit: Please use "<!DOCTYPE html>"
2 <html>
3 <body>
4 <div>
5 <ul contenteditable><li>one</li><li></li><li id="li">three</li></ul>
6 </div>
7 <script src="../../resources/dump-as-markup.js"></script>
8 <script>
9 var li = document.getElementById("li");
yosin_UTC9 2014/04/22 04:42:52 nit: Please use single quote in JavaScript. https:
ojan 2014/04/30 01:59:59 For future reference, we don't use google style in
10 var selection = window.getSelection();
11 selection.collapse(li, 0);
12 document.execCommand("Delete");
13 Markup.dump(document.querySelector('div'));
14 </script>
15 </body>
16 </html>
17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698