Skip to content

Commit 3359878

Browse files
authored
rm scrollbar-width length #1958
removed length units from scrollbar-width per discussions in issue #1958, lack of implementer interest, and at least some implementer objection to length units.
1 parent 9446809 commit 3359878

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

css-scrollbars-1/Overview.bs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ See related <a href="https://github.com/w3c/csswg-drafts/issues/1956">Issue 1956
155155

156156
<pre class="propdef">
157157
Name: scrollbar-width
158-
Value: auto | thin | none | <<length>>
158+
Value: auto | thin | none
159159
Initial: auto
160160
Inherited: no
161161
Computed value: specified keyword or absolute length
@@ -182,18 +182,8 @@ In that case, implementations may treat this value as auto.
182182
<dt><dfn>none</dfn></dt>
183183
<dd>implementations must not display any scrollbar, however the element's scrollability is not affected.
184184
</dd>
185-
<dt><dfn><<length>></dfn></dt>
186-
<dd>When a user agent displays one or more scrollbars for an element,
187-
the thickness of those scrollbars must be no more than the computed 'scrollbar-width' length value.
188-
Negative <<length>> values are not allowed. If scrollbar-width computes to 0, the element’s scrollbars are hidden,
189-
however its scrollability is not affected.
190-
</dd>
191185
</dl>
192186

193-
Note: There is working group disagreement about whether to allow length values,
194-
or only have keywords (auto, thin, none), or drop the scrollbar-width property altogether.
195-
(<a href="https://github.com/w3c/csswg-drafts/issues/1958">Issue 1958</a>)
196-
197187
UAs must apply the scrollbar-width value set on the root element to the viewport.
198188

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

0 commit comments

Comments
 (0)