Skip to content
Skip the list of specifications

css/css-fonts/parsing/

font-weight-computed.html

Fails: 18 of 20 assertions match, 2 do not; 1 more could not be judged

A parsing and computed-value check: each value the parser must accept or reject, and what it computes to.

Why some could not be judgedAssertions
No assertion with written values to accept or reject1

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
Property font-weight value '150.25'150.25150Fails
Property font-weight value 'calc(100 + (sign(20cqw - 10px) * 5))'95105Fails
Property font-weight value 'normal'400400Passes
Property font-weight value 'bold'700700Passes
Property font-weight value '1'11Passes
Property font-weight value '100'100100Passes
Property font-weight value '200'200200Passes
Property font-weight value '300'300300Passes
Property font-weight value '400'400400Passes
Property font-weight value '500'500500Passes
Property font-weight value '600'600600Passes
Property font-weight value '700'700700Passes
Property font-weight value '800'800800Passes
Property font-weight value '900'900900Passes
Property font-weight value '1000'10001000Passes
Property font-weight value '101'101101Passes
Property font-weight value 'calc(100)'100100Passes
Property font-weight value 'calc(0)'11Passes
Property font-weight value 'calc(-100)'11Passes
Property font-weight value 'calc(100 + 100)'200200Passes

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