Skip to content
Skip the list of specifications

css/css-flexbox/parsing/

flex-computed.html

Fails: 12 of 14 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 flex value 'calc(10 + (sign(20cqw - 10px) * 5)) calc(10 + (sign(20cqw - 10px) * 5)) 1px'5 5 1px15 15 1pxFails
Property flex value '1 1 calc(10px + (sign(20cqw - 10px) * 5px))'1 1 5px1 1 15pxFails
Property flex value 'none'0 0 auto0 0 autoPasses
Property flex value '1'1 1 0%1 1 0%Passes
Property flex value '2 3'2 3 0%2 3 0%Passes
Property flex value '4 5 6px'4 5 6px4 5 6pxPasses
Property flex value '7% 8'8 1 7%8 1 7%Passes
Property flex value '8 auto'8 1 auto8 1 autoPasses
Property flex value 'calc(10px + 0.5em)'1 1 30px1 1 30pxPasses
Property flex value 'calc(10px - 0.5em)'1 1 0px1 1 0pxPasses
Property flex value '1 1 calc(10em)'1 1 400px1 1 400pxPasses
Property flex value '1 1 calc(-10em)'1 1 0px1 1 0pxPasses
Property flex value 'calc(1) calc(2 + 1) calc(3px)'1 3 3px1 3 3pxPasses
Property flex value 'calc(-1) calc(-1) 0'0 0 0px0 0 0pxPasses

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