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

Side by Side Diff: LayoutTests/fast/css/fontfaceset-multiple-families-expected.txt

Issue 816923002: Switch FontFaceSet#ready from a method to an attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
OLDNEW
1 CONSOLE WARNING: document.fonts.ready() method is going to be replaced with docu ment.fonts.ready attribute in future releases. Please be prepared. For more help , check https://code.google.com/p/chromium/issues/detail?id=392077#c3 .
2 Test load events for fonts.loadFont() with multiple font families. 1 Test load events for fonts.loadFont() with multiple font families.
3 2
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 4
6 5
7 PASS event.fontfaces.length is 2 6 PASS event.fontfaces.length is 2
8 PASS event.fontfaces[0].status is "loaded" 7 PASS event.fontfaces[0].status is "loaded"
9 PASS event.fontfaces[1].status is "loaded" 8 PASS event.fontfaces[1].status is "loaded"
10 PASS loadedFonts is ['TestFont1', 'TestFont2'] 9 PASS loadedFonts is ['TestFont1', 'TestFont2']
11 PASS document.fonts.check('10px TestFont1') is true 10 PASS document.fonts.check('10px TestFont1') is true
12 PASS document.fonts.check('10px TestFont2') is true 11 PASS document.fonts.check('10px TestFont2') is true
13 PASS document.fonts.check('10px TestFont1, TestFont2') is true 12 PASS document.fonts.check('10px TestFont1, TestFont2') is true
14 PASS document.fonts.check('10px Times') is true 13 PASS document.fonts.check('10px Times') is true
15 PASS document.fonts.check('10px TestFont1, Times') is true 14 PASS document.fonts.check('10px TestFont1, Times') is true
16 PASS event.fontfaces.length is 2 15 PASS event.fontfaces.length is 2
17 PASS event.fontfaces[0].status is "error" 16 PASS event.fontfaces[0].status is "error"
18 PASS event.fontfaces[1].status is "error" 17 PASS event.fontfaces[1].status is "error"
19 PASS failedFonts is ['TestFont3', 'TestFont4'] 18 PASS failedFonts is ['TestFont3', 'TestFont4']
20 PASS document.fonts.check('10px TestFont3') is false 19 PASS document.fonts.check('10px TestFont3') is false
21 PASS document.fonts.check('10px TestFont4') is false 20 PASS document.fonts.check('10px TestFont4') is false
22 PASS document.fonts.check('10px TestFont4, Times') is false 21 PASS document.fonts.check('10px TestFont4, Times') is false
23 PASS firedEvents is ['loading', 'loadingdone', 'loadingerror'] 22 PASS firedEvents is ['loading', 'loadingdone', 'loadingerror']
24 PASS successfullyParsed is true 23 PASS successfullyParsed is true
25 24
26 TEST COMPLETE 25 TEST COMPLETE
27 26
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/fontfaceset-multiple-families.html ('k') | LayoutTests/fast/css/fontfaceset-unattached-document.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698