Skip to content

Commit 66f70d5

Browse files
committed
[css-scrollbars-1] Add scrollbar-width: none.
1 parent ad7963c commit 66f70d5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

css-scrollbars-1/Overview.bs

+4-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ See related <a href="https://github.com/w3c/csswg-drafts/issues/1956">Issue 1956
127127

128128
<pre class="propdef">
129129
Name: scrollbar-width
130-
Value: auto | thin | <<length>>
130+
Value: auto | thin | none | <<length>>
131131
Initial: auto
132132
Inherited: no
133133
Computed value: absolute length or the keyword auto.
@@ -146,6 +146,9 @@ This property allows the author to set the maximum thickness of an element’s s
146146
<dd>implementations must use either a thin scrollbar width variant on platforms that provide that option,
147147
or display a scrollbar thinner than the default platform scrollbar width.
148148
</dd>
149+
<dt><dfn>none</dfn></dt>
150+
<dd>implementations must not display any scrollbar, however the element's scrollability is not affected.
151+
</dd>
149152
<dt><dfn><<length>></dfn></dt>
150153
<dd>When a user agent displays one or more scrollbars for an element,
151154
the thickness of those scrollbars must be no more than the computed 'scrollbar-width' length value.

0 commit comments

Comments
 (0)