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

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

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 function test() { 11 document.styleSheets[0].insertRule('@import url("resources/css-insert-import-rul e.css");', 0);
dcheng 2014/10/20 18:35:14 Is this just to simplify the test, or was this dri
12 document.styleSheets[0].insertRule('@import url("resources/css-insert-import-r ule.css");', 0);
13 }
14 </script> 12 </script>
15 13
16 </head> 14 </head>
17 <body onload="test()";> 15 <body>
18 <div></div> 16 <div></div>
19 </body> 17 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698