blob: 5401239089b5ae1a15727dd3b8991aa8b4bb7fb6 [file] [log] [blame]
This is a testharness.js-based test.
PASS Check that src: url("foo.ttf") is valid
PASS Check that src: url("foo.ttf") format() is invalid
PASS Check that src: url("foo.ttf") format("collection") is valid
PASS Check that src: url("foo.ttf") format("embedded-opentype") is valid
PASS Check that src: url("foo.ttf") format("opentype") is valid
PASS Check that src: url("foo.ttf") format("svg") is valid
PASS Check that src: url("foo.ttf") format("truetype") is valid
PASS Check that src: url("foo.ttf") format("woff") is valid
PASS Check that src: url("foo.ttf") format("woff2") is valid
PASS Check that src: url("foo.ttf") format("opentype", "truetype") is invalid
PASS Check that src: url("foo.ttf") format("xyzzy") is valid
FAIL Check that src: url("foo.ttf") format(collection) is valid assert_equals: expected true but got false
FAIL Check that src: url("foo.ttf") format(embedded-opentype) is valid assert_equals: expected true but got false
FAIL Check that src: url("foo.ttf") format(opentype) is valid assert_equals: expected true but got false
FAIL Check that src: url("foo.ttf") format(svg) is valid assert_equals: expected true but got false
FAIL Check that src: url("foo.ttf") format(truetype) is valid assert_equals: expected true but got false
FAIL Check that src: url("foo.ttf") format(woff) is valid assert_equals: expected true but got false
FAIL Check that src: url("foo.ttf") format(woff2) is valid assert_equals: expected true but got false
PASS Check that src: url("foo.ttf") format(opentype, truetype) is invalid
PASS Check that src: url("foo.ttf") format(opentype truetype) is invalid
PASS Check that src: url("foo.ttf") format(auto) is invalid
PASS Check that src: url("foo.ttf") format(default) is invalid
PASS Check that src: url("foo.ttf") format(inherit) is invalid
PASS Check that src: url("foo.ttf") format(initial) is invalid
PASS Check that src: url("foo.ttf") format(none) is invalid
PASS Check that src: url("foo.ttf") format(normal) is invalid
PASS Check that src: url("foo.ttf") format(xyzzy) is invalid
Harness: the test ran to completion.