@@ -73,7 +73,7 @@ These properties allow the author to set colors for various aspects of an elemen
73
73
UAs must apply the scrollbar-* values set on the root element to the viewport.
74
74
75
75
Note: Unlike 'overflow' (and overflow-*) properties,
76
- scrollbar-* values set on the HTML body element are not propagated to viewport.
76
+ scrollbar-* values set on the HTML body element are not propagated to the viewport.
77
77
78
78
79
79
auto
121
121
scrollbar-track-color: Scrollbar;
122
122
}
123
123
124
+
125
+
126
+
127
+
128
+
129
+ Name : scrollbar-width
130
+ Value : auto | <>
131
+ Initial : auto
132
+ Inherited : no
133
+ Computed value : absolute length or the keyword auto.
134
+
135
+ Applies to : block containers and boxes that establish a formatting context [same as elements that 'overflow' applies to ]
136
+ Percentages : n/a
137
+ Media : visual
138
+
139
+
140
+ This property allows the author to set the maximum thickness of an element’s scrollbars when they are shown.
141
+ Negative <> values are not allowed.
142
+
143
+ When a user agent displays one or more scrollbars for an element,
144
+ the thickness of those scrollbars must be no more than the computed 'scrollbar-width' value.
145
+
146
+ When scrollbar-width is 'auto' , implementations must use the default platform scrollbar width.
147
+
148
+ UAs must apply the scrollbar-width value set on the root element to the viewport.
149
+
150
+ Note: Unlike 'overflow' (and overflow-*) properties,
151
+ a scrollbar-width value set on the HTML body element is not propagated to the viewport.
152
+
153
+ Note: This specification does not define the exact position or shape of the scrollbar,
154
+ or any animation thereof, such as fading or sliding in/out of view.
0 commit comments