Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / css-cached-import-rule.html
bloba9256ec170e5447f0a56adc5b6eaab834413fcfb
1 <head>
2 <style>
3 @import url("resources/css-insert-import-rule-red.css");
4 div {
5 width: 100px;
6 height: 100px;
8 </style>
10 <script>
11 document.styleSheets[0].insertRule('@import url("resources/css-insert-import-rule.css");', 0);
12 if (window.testRunner)
13 testRunner.waitUntilDone();
15 function test() {
16 if (location.href.indexOf("?") == -1)
17 location.href = location.href + "?";
18 else if (window.testRunner)
19 testRunner.notifyDone();
21 </script>
23 </head>
24 <body onload="test()";>
25 <div></div>
26 </body>