106-noimport-xhtml.xhtml (639B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>Stylesheet in XHTML HEAD blocking scripts</title> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script src="testlib/testlib.js"></script> 8 <!-- this stylesheet blocks scripts --> 9 <link rel="stylesheet" href="css/background.css?pipe=trickle(d2)" /> 10 </head> 11 <body> 12 <div id="test">Test</div> 13 <script> 14 test(function() { 15 assert_equals(getComputedStyle(document.getElementById("test")).position, 16 "fixed"); 17 }); 18 </script> 19 </body> 20 </html>