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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/webfont/css-change-in-swap-period.html

Issue 1829403002: Clean up font loading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Resource_status
Patch Set: Address hiroshige's comments Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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');
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698