1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml">
7 /* Note: applying a text-decoration to the body is necessary to
8 * cause the crash, as is having the document parsed as xhtml.
10 text-decoration:underline;
15 if (window
.testRunner
)
16 testRunner
.dumpAsText();
17 document
.execCommand("SelectAll");
18 document
.execCommand("JustifyRight");
19 document
.execCommand("JustifyNone");
23 <body onload=
"go()" contenteditable=
"true">
24 execCommand(
"JustifyNone") was crashing inside WebCore::ApplyStyleCommand::applyBlockStyle.
<br/>
25 See https://bugs.webkit.org/show_bug.cgi?id=
51639<br/>
26 The test has passed if it does not crash.
<br/><br/>