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

Side by Side Diff: LayoutTests/editing/execCommand/format-block-with-uneditable-crash.html

Issue 309993002: Make isEditablePosition to work with Position objects other than PositionIsOffsetInAnchor (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-06-06T06:24:03 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/format-block-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 <script> 4 <script>
4 if (window.testRunner) 5 if (window.testRunner)
5 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
6 7
7 onload = function() { 8 onload = function() {
9 document.designMode = 'on';
8 document.execCommand('SelectAll'); 10 document.execCommand('SelectAll');
9 document.execCommand('JustifyCenter'); 11 document.execCommand('FormatBlock', false, '<pre>');
10 document.documentElement.textContent = 'PASS if Blink doesn\'t crash.'; 12 document.documentElement.textContent = 'PASS if Blink doesn\'t crash.';
11 } 13 };
12 </script> 14 </script>
13 </head> 15 </head>
14 <body contenteditable="true"> 16 <body>
15 <canvas contenteditable="false">text</canvas><b></b> 17 ab<embed contenteditable="false"></embed>xyz
16 <textarea></textarea>
17 </body> 18 </body>
18 </html> 19 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/format-block-with-uneditable-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698