Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / css / fontfaceset-multiple-families-expected.txt
index fd15f22..b4a71f4 100644 (file)
@@ -1,3 +1,4 @@
+CONSOLE WARNING: document.fonts.ready() method is going to be replaced with document.fonts.ready attribute in future releases. Please be prepared. For more help, check https://code.google.com/p/chromium/issues/detail?id=392077#c3 .
 Test load events for fonts.loadFont() with multiple font families.
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -6,10 +7,20 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 PASS event.fontfaces.length is 2
 PASS event.fontfaces[0].status is "loaded"
 PASS event.fontfaces[1].status is "loaded"
+PASS loadedFonts is ['TestFont1', 'TestFont2']
 PASS document.fonts.check('10px TestFont1') is true
 PASS document.fonts.check('10px TestFont2') is true
 PASS document.fonts.check('10px TestFont1, TestFont2') is true
-PASS firedEvents is ['loading', 'loadingdone']
+PASS document.fonts.check('10px Times') is true
+PASS document.fonts.check('10px TestFont1, Times') is true
+PASS event.fontfaces.length is 2
+PASS event.fontfaces[0].status is "error"
+PASS event.fontfaces[1].status is "error"
+PASS failedFonts is ['TestFont3', 'TestFont4']
+PASS document.fonts.check('10px TestFont3') is false
+PASS document.fonts.check('10px TestFont4') is false
+PASS document.fonts.check('10px TestFont4, Times') is false
+PASS firedEvents is ['loading', 'loadingdone', 'loadingerror']
 PASS successfullyParsed is true
 
 TEST COMPLETE