blob: 5a8774dd98579d8135ecb1889e331a1e9b6b12f5 [file] [log] [blame]
.different { color: #0000ff; }
if (window.testRunner) {
<script src="../../resources/js-test.js"></script>
description('This test checks that the first &lt;script&gt; tag after an unclosed &lt;style&gt; tag is parsed correctly. Early versions of the patch for <a href="">Bugzilla Bug 6314</a> did not reset a state variable properly, causing the first &lt;script&gt;&lt;/script&gt; tag in the document to contain everything after the &lt;style&gt; tag. <p class="different">This text should also be blue.</p>');