Skip to content
Skip the list of specifications

css/css-anchor-position/parsing/

anchor-scope-parsing.html

Passes: all 17 assertions match

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
e.style['anchor-scope'] = "initial" should set the property valuePasses
e.style['anchor-scope'] = "inherit" should set the property valuePasses
e.style['anchor-scope'] = "unset" should set the property valuePasses
e.style['anchor-scope'] = "revert" should set the property valuePasses
e.style['anchor-scope'] = "none" should set the property valuePasses
e.style['anchor-scope'] = "all" should set the property valuePasses
e.style['anchor-scope'] = "--a" should set the property valuePasses
e.style['anchor-scope'] = "--a, --b" should set the property valuePasses
e.style['anchor-scope'] = "--a, --b, --c" should set the property valuePasses
e.style['anchor-scope'] = "--foo, --bar" should set the property valuePasses
e.style['anchor-scope'] = "--bar, --foo" should set the property valuePasses
e.style['anchor-scope'] = "--a none" should not set the property valuePasses
e.style['anchor-scope'] = "none --a" should not set the property valuePasses
e.style['anchor-scope'] = "none all" should not set the property valuePasses
e.style['anchor-scope'] = "--a --b" should not set the property valuePasses
e.style['anchor-scope'] = "a, b, c" should not set the property valuePasses
e.style['anchor-scope'] = "" should not set the property valuePasses

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