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

Side by Side Diff: LayoutTests/fast/css/fontfaceset-set-operations-expected.txt

Issue 137253005: [Font Load Events] Partial implementation of SetClass operations for FontFaceSet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Tests set operations of FontFaceSet.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS document.fonts.size is 3
7 PASS faces.length is 3
8 PASS faces[0].family is "Font1"
9 PASS faces[1].family is "Font2"
10 PASS faces[2].family is "Font3"
11 PASS document.fonts.has(faces[0]) is true
12 PASS document.fonts.has(faces[1]) is true
13 PASS document.fonts.has(faces[2]) is true
14 PASS document.fonts.has(new FontFace("MyFont", "local(Arial)", {})) is false
15 PASS document.fonts.has("Font1") threw exception TypeError: Failed to execute 'h as' on 'FontFaceSet': The argument is not a FontFace..
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698