css/css-lists/parsing/
counter-reset-computed.html
Fails: 8 of 10 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 counter-reset value 'myCounter calc(10 + (sign(2cqw - 10px) * 5))' | myCounter 5 | myCounter 15 | Fails |
Property counter-reset value 'myCounter calc(10 + (sign(2cqw - 10px) * 5)) otherCounter calc(15 + (sign(2cqw - 10px) * 5))' | myCounter 5 otherCounter 10 | myCounter 15 otherCounter 20 | Fails |
Property counter-reset value 'none' | none | none | Passes |
Property counter-reset value 'myCounter' | myCounter 0 | myCounter 0 | Passes |
Property counter-reset value 'myCounter 5' | myCounter 5 | myCounter 5 | Passes |
Property counter-reset value 'myCounter 7 otherCounter 8' | myCounter 7 otherCounter 8 | myCounter 7 otherCounter 8 | Passes |
Property counter-reset value 'myCounter otherCounter -8' | myCounter 0 otherCounter -8 | myCounter 0 otherCounter -8 | Passes |
Property counter-reset value 'myCounter 7 otherCounter' | myCounter 7 otherCounter 0 | myCounter 7 otherCounter 0 | Passes |
Property counter-reset value 'a 1 b 2 c 3 d 4 e 5' | a 1 b 2 c 3 d 4 e 5 | a 1 b 2 c 3 d 4 e 5 | Passes |
Property counter-reset value 'a 1 b 2 c 3 a 4 b 5' | a 1 b 2 c 3 a 4 b 5 | a 1 b 2 c 3 a 4 b 5 | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.