Index: third_party/WebKit/LayoutTests/http/tests/webfont/css-change-in-swap-period.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/webfont/css-change-in-swap-period.html b/third_party/WebKit/LayoutTests/http/tests/webfont/css-change-in-swap-period.html |
index ea00bc20b148fe5195f38eb84d09b4492ff47e1e..920a4e098854d8eeef20b117178dcdd996da7fa4 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/webfont/css-change-in-swap-period.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/webfont/css-change-in-swap-period.html |
@@ -19,6 +19,10 @@ if (window.testRunner) |
testRunner.waitUntilDone(); |
window.onload = function() { |
+ setTimeout(runTest, 0); |
+} |
hiroshige
2016/04/13 09:48:23
Add a semicolon at the end of this line.
i.e. s/}/
Nate Chapin
2016/04/13 17:47:24
Done.
|
+ |
+function runTest() { |
document.getElementById('test').classList.add('test'); |
setTimeout(function() { |
var newStyle = document.createElement('style'); |