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

Side by Side Diff: LayoutTests/editing/execCommand/indent-table-cell-crash.html

Issue 306473003: Don't over split DOM tree in CompositeEditCommand::splitTreeToNode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-05-28T05:18:57 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/indent-table-cell-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>
3 <head> 2 <head>
4 <style> 3 <style>
5 head { 4 hr { display: table-cell; }
6 display: table-caption;
7 height: 100px;
8 width: 100px;
9 background-color: red;
10 }
11 </style> 5 </style>
12 <script> 6 <script>
13 if (window.testRunner) 7 if (window.testRunner)
14 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
15 9
16 onload = function() { 10 onload = function() {
17 document.designMode = 'on'; 11 document.designMode = 'on';
18 document.execCommand('SelectAll'); 12 document.execCommand('SelectAll');
19 document.execCommand('Indent'); 13 document.execCommand('Indent');
20 document.open(); 14 document.body.textContent = 'PASS if Blink doesn\'t crash.';
21 document.write('PASS if Blink doesn\'t crash.');
22 }; 15 };
23 </script> 16 </script>
24 </head> 17 </head>
25 <body> 18 <body>
26 foo 19 before<hr><hr>after
27 </body> 20 </body>
28 </html> 21 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/indent-table-cell-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698