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 judged | Assertions |
|---|---|
| No assertion with written values to accept or reject | 1 |
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.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
Property flex value 'calc(10 + (sign(20cqw - 10px) * 5)) calc(10 + (sign(20cqw - 10px) * 5)) 1px' | 5 5 1px | 15 15 1px | Fails |
Property flex value '1 1 calc(10px + (sign(20cqw - 10px) * 5px))' | 1 1 5px | 1 1 15px | Fails |
Property flex value 'none' | 0 0 auto | 0 0 auto | Passes |
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 6px | 4 5 6px | Passes |
Property flex value '7% 8' | 8 1 7% | 8 1 7% | Passes |
Property flex value '8 auto' | 8 1 auto | 8 1 auto | Passes |
Property flex value 'calc(10px + 0.5em)' | 1 1 30px | 1 1 30px | Passes |
Property flex value 'calc(10px - 0.5em)' | 1 1 0px | 1 1 0px | Passes |
Property flex value '1 1 calc(10em)' | 1 1 400px | 1 1 400px | Passes |
Property flex value '1 1 calc(-10em)' | 1 1 0px | 1 1 0px | Passes |
Property flex value 'calc(1) calc(2 + 1) calc(3px)' | 1 3 3px | 1 3 3px | Passes |
Property flex value 'calc(-1) calc(-1) 0' | 0 0 0px | 0 0 0px | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.