Skip to content
Skip the list of specifications

css/css-fonts/parsing/

font-variant-invalid.html

Passes: all 21 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-variant'] = "normal none" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "none normal" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "small-caps normal" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "normal small-caps" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "small-caps none" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "none small-caps" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "common-ligatures no-common-ligatures" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "discretionary-ligatures no-discretionary-ligatures" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "historical-ligatures no-historical-ligatures" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "contextual no-contextual" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "small-caps all-small-caps" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "stylistic(flowing) stylistic(flowing)" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "lining-nums oldstyle-nums" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "proportional-nums tabular-nums" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "diagonal-fractions stacked-fractions" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "ordinal slashed-zero ordinal" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "slashed-zero jis78 slashed-zero" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "jis78 jis83" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "full-width proportional-width" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "ruby sub ruby" should not set the property valuerejectedrejectedPasses
e.style['font-variant'] = "sub super" should not set the property valuerejectedrejectedPasses

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