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

Unified Diff: LayoutTests/fast/css/fontloader-css-change-in-callback.html

Issue 23717059: [Font Load Events] Implement FontFaceSet methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | « LayoutTests/fast/css/fontface-properties.html ('k') | LayoutTests/fast/css/fontloader-download-error.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/fontloader-css-change-in-callback.html
diff --git a/LayoutTests/fast/css/fontloader-css-change-in-callback.html b/LayoutTests/fast/css/fontloader-css-change-in-callback.html
index d9232874e45981a734493b3114935d53da0ae8ef..1529a376c41e9361bd87eaeab79bdc2291bfe614 100644
--- a/LayoutTests/fast/css/fontloader-css-change-in-callback.html
+++ b/LayoutTests/fast/css/fontloader-css-change-in-callback.html
@@ -24,7 +24,7 @@ function addCss() {
}
if (document.fonts)
- document.fonts.loadFont({font:"12px ahem", onsuccess:addCss})
+ document.fonts.load("12px ahem").then(addCss);
else {
testFailed('document.fonts does not exist');
finishJSTest();
« no previous file with comments | « LayoutTests/fast/css/fontface-properties.html ('k') | LayoutTests/fast/css/fontloader-download-error.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698