Upstream version 5.34.92.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / css / fontfaceset-multiple-families-expected.txt
1 Test load events for fonts.loadFont() with multiple font families.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS event.fontfaces.length is 2
7 PASS event.fontfaces[0].status is "loaded"
8 PASS event.fontfaces[1].status is "loaded"
9 PASS loadedFonts is ['TestFont1', 'TestFont2']
10 PASS document.fonts.check('10px TestFont1') is true
11 PASS document.fonts.check('10px TestFont2') is true
12 PASS document.fonts.check('10px TestFont1, TestFont2') is true
13 PASS event.fontfaces.length is 2
14 PASS event.fontfaces[0].status is "error"
15 PASS event.fontfaces[1].status is "error"
16 PASS failedFonts is ['TestFont3', 'TestFont4']
17 PASS document.fonts.check('10px TestFont3') is false
18 PASS document.fonts.check('10px TestFont4') is false
19 PASS firedEvents is ['loading', 'loadingdone', 'loadingerror']
20 PASS successfullyParsed is true
21
22 TEST COMPLETE
23