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

Side by Side Diff: LayoutTests/editing/execCommand/justy-center-with-uneditable-crash.html

Issue 335773002: Don't move uneditable paragraph contents in CompositeEditCommand::moveParagraphContentsToNewBlockIfN (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-06-13T05:31:16 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/justy-center-with-uneditable-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.execCommand("selectAll");
Yuta Kitamura 2014/06/16 03:33:26 nit: Single quotes for string literals?
yosin_UTC9 2014/06/16 03:45:54 Done.
12 document.execCommand('SelectAll'); 10 document.execCommand("justifyCenter");
13 document.execCommand('Indent');
14 document.body.textContent = 'PASS if Blink doesn\'t crash.'; 11 document.body.textContent = 'PASS if Blink doesn\'t crash.';
15 }; 12 };
16 </script> 13 </script>
17 </head> 14 </head>
18 <body> 15 <body contenteditable="true">
19 before<hr><hr>after 16 <kbd>foo</kbd>
17 <sup>bar<abbr contenteditable="false">baz</abbr></sup>
20 </body> 18 </body>
21 </html> 19 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/justy-center-with-uneditable-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698