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

Side by Side Diff: LayoutTests/editing/execCommand/remove-format-non-html-element-crash.html

Issue 217003006: Remove carriage returns from LayoutTests (01) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix caret-and-focus-ring Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <body> 2 <body>
3 Test passes if it does not crash. 3 Test passes if it does not crash.
4 <div id="test" contenteditable="true"> 4 <div id="test" contenteditable="true">
5 <ins><math>ABCD</math></ins> 5 <ins><math>ABCD</math></ins>
6 </div> 6 </div>
7 <script> 7 <script>
8 if (window.testRunner) 8 if (window.testRunner)
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 10
11 var test = document.getElementById("test"); 11 var test = document.getElementById("test");
12 test.focus(); 12 test.focus();
13 document.execCommand("SelectAll"); 13 document.execCommand("SelectAll");
14 document.execCommand("RemoveFormat"); 14 document.execCommand("RemoveFormat");
15 document.body.removeChild(test); 15 document.body.removeChild(test);
16 </script> 16 </script>
17 </body> 17 </body>
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698