OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 <link id="target" rel="stylesheet" href="old.css"> | 5 <link id="target" rel="stylesheet" href="old.css"> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <script> | 8 <script> |
9 description('This tests that ownerNode of orphan sheet is null.'); | 9 description('This tests that ownerNode of orphan sheet is null.'); |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 // We need to exercise cached case as well, which can be executed with a
reload. | 24 // We need to exercise cached case as well, which can be executed with a
reload. |
25 if (0 <= window.location.toString().indexOf("?reloaded")) | 25 if (0 <= window.location.toString().indexOf("?reloaded")) |
26 return finishJSTest(); | 26 return finishJSTest(); |
27 window.location = window.location.toString() + "?reloaded"; | 27 window.location = window.location.toString() + "?reloaded"; |
28 }; | 28 }; |
29 | 29 |
30 window.setTimeout(waitAndTest, 0); | 30 window.setTimeout(waitAndTest, 0); |
31 }; | 31 }; |
32 | 32 |
33 </script> | 33 </script> |
34 <script src="../../js/resources/js-test-post.js"></script> | |
35 </body> | 34 </body> |
36 </html> | 35 </html> |
OLD | NEW |