Skip to content
Skip the list of specifications

css/css-scrollbars/

scrollbar-width-parsing.html

Fails: 12 of 15 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
e.style['scrollbar-width'] = "auto" should set the property valueacceptedrejectedFails
e.style['scrollbar-width'] = "thin" should set the property valueacceptedrejectedFails
e.style['scrollbar-width'] = "none" should set the property valueacceptedrejectedFails
e.style['scrollbar-width'] = "" should not set the property valuePasses
e.style['scrollbar-width'] = "auto none" should not set the property valuePasses
e.style['scrollbar-width'] = "thin auto" should not set the property valuePasses
e.style['scrollbar-width'] = "none thin" should not set the property valuePasses
e.style['scrollbar-width'] = "auto thin none" should not set the property valuePasses
e.style['scrollbar-width'] = "tiny" should not set the property valuePasses
e.style['scrollbar-width'] = "enormous" should not set the property valuePasses
e.style['scrollbar-width'] = "12px" should not set the property valuePasses
e.style['scrollbar-width'] = "3em" should not set the property valuePasses
e.style['scrollbar-width'] = "20%" should not set the property valuePasses
e.style['scrollbar-width'] = "#FF0000" should not set the property valuePasses
e.style['scrollbar-width'] = "red green" should not set the property valuePasses

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