Skip to content
Skip the list of specifications

css/css-view-transitions/parsing/

view-transition-class-invalid.html

Passes: all 7 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['view-transition-class'] = "default" should not set the property valuePasses
e.style['view-transition-class'] = "foo none" should not set the property valuePasses
e.style['view-transition-class'] = "#fff" should not set the property valuePasses
e.style['view-transition-class'] = "12px" should not set the property valuePasses
e.style['view-transition-class'] = "foo 12px" should not set the property valuePasses
e.style['view-transition-class'] = "12em" should not set the property valuePasses
e.style['view-transition-class'] = "12%" should not set the property valuePasses

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