Skip to content

Commit 0de1ebc

Browse files
authored
scrollbar-width 0 does not affect scrollability
1 parent e1a01e7 commit 0de1ebc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css-scrollbars-1/Overview.bs

+3
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ the thickness of those scrollbars must be no more than the computed 'scrollbar-w
145145

146146
When scrollbar-width is 'auto', implementations must use the default platform scrollbar width.
147147

148+
Note: If scrollbar-width computes to 0, the element’s scrollbars are hidden,
149+
however its scrollability is not affected.
150+
148151
UAs must apply the scrollbar-width value set on the root element to the viewport.
149152

150153
Note: Unlike 'overflow' (and overflow-*) properties,

0 commit comments

Comments
 (0)