OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 .different { color: #0000ff; } | 4 .different { color: #0000ff; } |
5 <script> | 5 <script> |
6 if (window.testRunner) { | 6 if (window.testRunner) { |
7 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
8 testRunner.dumpPixels(); | 8 testRunner.dumpPixels(); |
9 } | 9 } |
10 </script> | 10 </script> |
11 <script src="resources/js-test-pre.js"></script> | 11 <script src="../../resources/js-test.js"></script> |
12 </head> | 12 </head> |
13 <body> | 13 <body> |
14 <script> | 14 <script> |
15 description('This test checks that the first <script> tag after an unclose
d <style> tag is parsed correctly. Early versions of the patch for <a hre
f="https://bugs.webkit.org/show_bug.cgi?id=6314">Bugzilla Bug 6314</a> did not r
eset a state variable properly, causing the first <script></script>
tag in the document to contain everything after the <style> tag. <p class=
"different">This text should also be blue.</p>'); | 15 description('This test checks that the first <script> tag after an unclose
d <style> tag is parsed correctly. Early versions of the patch for <a hre
f="https://bugs.webkit.org/show_bug.cgi?id=6314">Bugzilla Bug 6314</a> did not r
eset a state variable properly, causing the first <script></script>
tag in the document to contain everything after the <style> tag. <p class=
"different">This text should also be blue.</p>'); |
16 </script> | 16 </script> |
17 </body> | 17 </body> |
18 </html> | 18 </html> |
OLD | NEW |