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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css/fontfaceset-set-operations-expected.txt
diff --git a/LayoutTests/fast/css/fontfaceset-set-operations-expected.txt b/LayoutTests/fast/css/fontfaceset-set-operations-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4da5ab400092e809e45c7a5cbeb3f7b33402f93
--- /dev/null
+++ b/LayoutTests/fast/css/fontfaceset-set-operations-expected.txt
@@ -0,0 +1,19 @@
+Tests set operations of FontFaceSet.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS document.fonts.size is 3
+PASS faces.length is 3
+PASS faces[0].family is "Font1"
+PASS faces[1].family is "Font2"
+PASS faces[2].family is "Font3"
+PASS document.fonts.has(faces[0]) is true
+PASS document.fonts.has(faces[1]) is true
+PASS document.fonts.has(faces[2]) is true
+PASS document.fonts.has(new FontFace("MyFont", "local(Arial)", {})) is false
+PASS document.fonts.has("Font1") threw exception TypeError: Failed to execute 'has' on 'FontFaceSet': The argument is not a FontFace..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698