+2011-09-23 Jay Soffian <jaysoffian@gmail.com>
+
+ chrome.dll!WebCore::ApplyStyleCommand::applyBlockStyle ReadAV@NULL (64db547804532a84be2e53721e499e9e)
+ https://bugs.webkit.org/show_bug.cgi?id=51639
+
+ Reviewed by Tony Chang.
+
+ Add repro for a crash inside WebCore::ApplyStyleCommand::applyBlockStyle. Fixed by r94840.
+
+ * editing/style/justify-without-enclosing-block-expected.txt: Added.
+ * editing/style/justify-without-enclosing-block.xhtml: Added.
+
2011-09-23 Adam Barth <abarth@webkit.org>
Note flaky test.
--- /dev/null
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <style>
+ *{
+ /* Note: applying a text-decoration to the body is necessary to
+ * cause the crash, as is having the document parsed as xhtml.
+ */
+ text-decoration:underline;
+ }
+ </style>
+ <script>
+ function go() {
+ document.execCommand("SelectAll");
+ document.execCommand("JustifyRight");
+ document.execCommand("JustifyNone");
+ }
+ </script>
+ </head>
+ <body onload="go()" contenteditable="true">
+ execCommand("JustifyNone") was crashing inside WebCore::ApplyStyleCommand::applyBlockStyle.<br/>
+ See https://bugs.webkit.org/show_bug.cgi?id=51639<br/>
+ The test has passed if it does not crash.<br/><br/>
+ PASS
+ </body>
+</html>
\ No newline at end of file