diff options
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/dom/css-insert-import-rule.html')
| -rw-r--r-- | third_party/WebKit/LayoutTests/fast/dom/css-insert-import-rule.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/dom/css-insert-import-rule.html b/third_party/WebKit/LayoutTests/fast/dom/css-insert-import-rule.html index cf99a5c..b0b15b0 100644 --- a/third_party/WebKit/LayoutTests/fast/dom/css-insert-import-rule.html +++ b/third_party/WebKit/LayoutTests/fast/dom/css-insert-import-rule.html @@ -8,12 +8,10 @@ div { </style> <script> -function test() { - document.styleSheets[0].insertRule('@import url("resources/css-insert-import-rule.css");', 0); -} +document.styleSheets[0].insertRule('@import url("resources/css-insert-import-rule.css");', 0); </script> </head> -<body onload="test()";> +<body> <div></div> </body> |
