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

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

Issue 181103004: Fixing crash when executing ApplyStyle command. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing nit Created 6 years, 9 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 | LayoutTests/editing/execCommand/inserting-ordered-list-crash-expected.txt » ('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 <html>
3 <body>
4 <input>
5 <hr>
6 >
7 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
10
11 document.designMode = 'on';
12 document.execCommand('SelectAll');
13 document.execCommand('Strikethrough');
14 document.execCommand('InsertOrderedList');
15 window.getSelection().deleteFromDocument();
16 document.execCommand('SelectAll');
17 document.execCommand('Strikethrough');
18 document.write('The test passes if the page does not crash.');
19 </script>
20 </body>
21 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/inserting-ordered-list-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698