Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(599)

Side by Side Diff: LayoutTests/fast/dom/css-cached-import-rule.html

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add document.close() to scroll-left-while-loading.html Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <head> 1 <head>
2 <style> 2 <style>
3 @import url("resources/css-insert-import-rule-red.css"); 3 @import url("resources/css-insert-import-rule-red.css");
4 div { 4 div {
5 width: 100px; 5 width: 100px;
6 height: 100px; 6 height: 100px;
7 } 7 }
8 </style> 8 </style>
9 9
10 <script> 10 <script>
11 document.styleSheets[0].insertRule('@import url("resources/css-insert-import-rul e.css");', 0);
12 if (window.testRunner)
13 testRunner.waitUntilDone();
14
11 function test() { 15 function test() {
12 document.styleSheets[0].insertRule('@import url("resources/css-insert-import -rule.css");', 0); 16 if (location.href.indexOf("?") == -1)
13 if (location.href.indexOf("?") == -1) {
14 if (window.testRunner)
15 testRunner.waitUntilDone();
16 location.href = location.href + "?"; 17 location.href = location.href + "?";
17 } else if (window.testRunner) 18 else if (window.testRunner)
18 testRunner.notifyDone(); 19 testRunner.notifyDone();
19 } 20 }
20 </script> 21 </script>
21 22
22 </head> 23 </head>
23 <body onload="test()";> 24 <body onload="test()";>
24 <div></div> 25 <div></div>
25 </body> 26 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698