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

Side by Side Diff: LayoutTests/editing/execCommand/justify-center-empty-list-crash.html

Issue 300023009: Get rid of false assert from CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-05-30T02:02:04 Created 6 years, 6 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/justify-center-empty-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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html>
2 <head> 3 <head>
3 <style>
4 hr { display: table-cell; }
5 </style>
6 <script> 4 <script>
7 if (window.testRunner) 5 if (window.testRunner)
8 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
9 7
10 onload = function() { 8 onload = function() {
11 document.designMode = 'on'; 9 document.designMode = "on";
12 document.execCommand('SelectAll'); 10 document.execCommand("SelectAll");
13 document.execCommand('Indent'); 11 document.execCommand("JustifyCenter");
14 document.body.textContent = 'PASS if Blink doesn\'t crash.'; 12 document.body.textContent = 'PASS if Blink doesn\'t crash.';
15 }; 13 };
16 </script> 14 </script>
17 </head> 15 </head>
18 <body> 16 <body>
19 before<hr><hr>after 17 <ul style="height: 20px;"></ul>
18 <div>
19 <div></div>
20 <a target="foo">more</a>
21 </div>
20 </body> 22 </body>
21 </html> 23 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/justify-center-empty-list-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698