|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
</script>
|
|
<link rel=stylesheet href="data:text/css,span{color:green;}">
|
|
Test that inline script blocks on stylesheet load:
|
|
<span>
|
|
<script>
|
|
document.write(document.styleSheets[0] ? "PASS" : "FAIL");
|
|
</script>
|
|
</span>
|