chromium/third_party/blink/web_tests/editing/style/justify-without-enclosing-block.xhtml

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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() {
        if (window.testRunner)
            testRunner.dumpAsText();
        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>