Skip to content
Skip the list of specifications

css/css-fonts/parsing/

font-invalid.html

Passes: all 16 assertions match

A parsing check: each value the parser must accept or reject.

Run it in the playgroundThe fileOn GitHubBrowsers’ results on wpt.fyi

Each assertion

Every row shows what the file expected and what the engine returned, whether they match or not.

AssertionExpectedGotVerdict
e.style['font'] = "menu icon" should not set the property valuerejectedrejectedPasses
e.style['font'] = "italic oblique xx-small serif" should not set the property valuerejectedrejectedPasses
e.style['font'] = "small-caps small-caps medium/normal sans-serif" should not set the property valuerejectedrejectedPasses
e.style['font'] = "bold bolder xx-large/1.2 cursive" should not set the property valuerejectedrejectedPasses
e.style['font'] = "ultra-condensed extra-condensed larger/calc(120% + 1.2em) fantasy" should not set the property valuerejectedrejectedPasses
e.style['font'] = "italic small-caps lighter condensed normal smaller monospace" should not set the property valuerejectedrejectedPasses
e.style['font'] = "normal 100 semi-condensed oblique small-caps 10px/normal Menu" should not set the property valuerejectedrejectedPasses
e.style['font'] = "normal normal normal normal normal 20%/1.2 \"FB Armada\"" should not set the property valuerejectedrejectedPasses
e.style['font'] = "italic small-caps lighter condensed smaller" should not set the property valuerejectedrejectedPasses
e.style['font'] = "normal 100 semi-condensed oblique small-caps Menu" should not set the property valuerejectedrejectedPasses
e.style['font'] = "100% larger / 2 fantasy" should not set the property valuerejectedrejectedPasses
e.style['font'] = "oldstyle-nums medium serif" should not set the property valuerejectedrejectedPasses
e.style['font'] = "common-ligatures medium serif" should not set the property valuerejectedrejectedPasses
e.style['font'] = "normal full-width medium serif" should not set the property valuerejectedrejectedPasses
e.style['font'] = "italic titling-caps medium serif" should not set the property valuerejectedrejectedPasses
e.style['font'] = "petite-caps medium serif" should not set the property valuerejectedrejectedPasses

Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.