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

Side by Side Diff: LayoutTests/editing/execCommand/crash-replacing-list-by-list.html

Issue 220233013: Don't return null from ReplaceSelectionCommand::insertAsListItems() (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 html>
2 <body>
3 PASS if Blink doesn't crash.
4 <div id="sample" contenteditable="true"><ol><li><br></li></ol></div>
5 </body>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9 var sample = document.getElementById('sample');
10 getSelection().selectAllChildren(sample);
11 document.execCommand('InsertHTML', false, '<ul>');
12 sample.outerHTML = '';
13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698