Skip to content
Skip the list of specifications

css/css-highlight-api/

custom-highlight-universal-parsing-and-computed-style.tentative.html

Fails: 5 of 8 assertions match, 3 do not

A parsing check: each value the parser must accept or reject.

Run it in the playgroundThe fileOn GitHubBrowsers’ results on wpt.fyi

Each assertion

A passing assertion got what it asked for, so only a failing one shows what it expected and what it got.

AssertionExpectedGotVerdict
"::highlight(*)" should be a valid selectoracceptedrejectedFails
"div::highlight(*)" should be a valid selectoracceptedrejectedFails
":root::highlight(*)" should be a valid selectoracceptedrejectedFails
"::highlight()" should be an invalid selectorPasses
"::highlight(* foo)" should be an invalid selectorPasses
"::highlight(*.class)" should be an invalid selectorPasses
"::highlight(foo*)" should be an invalid selectorPasses
"::highlight(**)" should be an invalid selectorPasses

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