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

Side by Side Diff: LayoutTests/editing/style/justify-without-enclosing-block.xhtml

Issue 1167033002: Remove layout tests that run execCommand on non-HTML documents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix doctype Created 5 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/editing/pasteboard/paste-xml.xhtml ('k') | LayoutTests/svg/custom/bug78838.html » ('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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head> 4 <head>
3 <style> 5 <style>
4 *{ 6 *{
5 /* Note: applying a text-decoration to the body is necessary to 7 /* Note: applying a text-decoration to the body is necessary to
6 * cause the crash, as is having the document parsed as xhtml. 8 * cause the crash, as is having the document parsed as xhtml.
7 */ 9 */
8 text-decoration:underline; 10 text-decoration:underline;
9 } 11 }
10 </style> 12 </style>
11 <script> 13 <script>
12 function go() { 14 function go() {
13 if (window.testRunner) 15 if (window.testRunner)
14 testRunner.dumpAsText(); 16 testRunner.dumpAsText();
15 document.execCommand("SelectAll"); 17 document.execCommand("SelectAll");
16 document.execCommand("JustifyRight"); 18 document.execCommand("JustifyRight");
17 document.execCommand("JustifyNone"); 19 document.execCommand("JustifyNone");
18 } 20 }
19 </script> 21 </script>
20 </head> 22 </head>
21 <body onload="go()" contenteditable="true"> 23 <body onload="go()" contenteditable="true">
22 execCommand("JustifyNone") was crashing inside WebCore::ApplyStyleCommand::a pplyBlockStyle.<br/> 24 execCommand("JustifyNone") was crashing inside WebCore::ApplyStyleCommand::a pplyBlockStyle.<br/>
23 See https://bugs.webkit.org/show_bug.cgi?id=51639<br/> 25 See https://bugs.webkit.org/show_bug.cgi?id=51639<br/>
24 The test has passed if it does not crash.<br/><br/> 26 The test has passed if it does not crash.<br/><br/>
25 PASS 27 PASS
26 </body> 28 </body>
27 </html> 29 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/pasteboard/paste-xml.xhtml ('k') | LayoutTests/svg/custom/bug78838.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698