diff --git a/testing/web-platform/meta/css/css-fonts/parsing/font-face-src-format.html.ini b/testing/web-platform/meta/css/css-fonts/parsing/font-face-src-format.html.ini new file mode 100644 index 000000000000..12c96fbd2716 --- /dev/null +++ b/testing/web-platform/meta/css/css-fonts/parsing/font-face-src-format.html.ini @@ -0,0 +1,24 @@ +[font-face-src-format.html] + [Check that src: url("foo.ttf") format("opentype", "truetype") is invalid] + expected: FAIL + + [Check that src: url("foo.ttf") format(collection) is valid] + expected: FAIL + + [Check that src: url("foo.ttf") format(embedded-opentype) is valid] + expected: FAIL + + [Check that src: url("foo.ttf") format(opentype) is valid] + expected: FAIL + + [Check that src: url("foo.ttf") format(svg) is valid] + expected: FAIL + + [Check that src: url("foo.ttf") format(truetype) is valid] + expected: FAIL + + [Check that src: url("foo.ttf") format(woff) is valid] + expected: FAIL + + [Check that src: url("foo.ttf") format(woff2) is valid] + expected: FAIL diff --git a/testing/web-platform/tests/css/css-fonts/parsing/font-face-src-format.html b/testing/web-platform/tests/css/css-fonts/parsing/font-face-src-format.html new file mode 100644 index 000000000000..34ed5ec53907 --- /dev/null +++ b/testing/web-platform/tests/css/css-fonts/parsing/font-face-src-format.html @@ -0,0 +1,59 @@ + +