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

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: Fix callback arguments 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
« no previous file with comments | « LayoutTests/fast/css/fontfaceset-set-operations.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 callbackArgs[0] === callbackArgs[1] is true
8 PASS callbackArgs[2] === document.fonts is true
9 PASS thisValue === thisArg is true
10 PASS faces.length is 3
11 PASS faces[0].family is "Font1"
12 PASS faces[1].family is "Font2"
13 PASS faces[2].family is "Font3"
14 PASS document.fonts.has(faces[0]) is true
15 PASS document.fonts.has(faces[1]) is true
16 PASS document.fonts.has(faces[2]) is true
17 PASS document.fonts.has(new FontFace("MyFont", "local(Arial)", {})) is false
18 PASS document.fonts.has("Font1") threw exception TypeError: Failed to execute 'h as' on 'FontFaceSet': The argument is not a FontFace..
19 PASS successfullyParsed is true
20
21 TEST COMPLETE
22
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/fontfaceset-set-operations.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698