Skip to content
Skip the list of specifications

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 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 counter-reset value 'myCounter calc(10 + (sign(2cqw - 10px) * 5))'myCounter 5myCounter 15Fails
Property counter-reset value 'myCounter calc(10 + (sign(2cqw - 10px) * 5)) otherCounter calc(15 + (sign(2cqw - 10px) * 5))'myCounter 5 otherCounter 10myCounter 15 otherCounter 20Fails
Property counter-reset value 'none'nonenonePasses
Property counter-reset value 'myCounter'myCounter 0myCounter 0Passes
Property counter-reset value 'myCounter 5'myCounter 5myCounter 5Passes
Property counter-reset value 'myCounter 7 otherCounter 8'myCounter 7 otherCounter 8myCounter 7 otherCounter 8Passes
Property counter-reset value 'myCounter otherCounter -8'myCounter 0 otherCounter -8myCounter 0 otherCounter -8Passes
Property counter-reset value 'myCounter 7 otherCounter'myCounter 7 otherCounter 0myCounter 7 otherCounter 0Passes
Property counter-reset value 'a 1 b 2 c 3 d 4 e 5'a 1 b 2 c 3 d 4 e 5a 1 b 2 c 3 d 4 e 5Passes
Property counter-reset value 'a 1 b 2 c 3 a 4 b 5'a 1 b 2 c 3 a 4 b 5a 1 b 2 c 3 a 4 b 5Passes

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