You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reduce to two properties, -face-color -track-color
Per #1960 (comment) implementation/prototyping experience, reduce number of properties to two: scrollbar-face-color and scrollbar-track-color. Resolves issue #1960
<dd>default platform rendering for that portion of the scrollbar, in the absence of any other
93
81
related scrollbar color properties. See details below for which scrollbar color are related to which.
@@ -97,15 +85,8 @@ related scrollbar color properties. See details below for which scrollbar color
97
85
98
86
Details:
99
87
100
-
If scrollbar-track-color computes to auto, and scrollbar-face-color and scrollbar-highlight-color are not auto,
101
-
they are combined (e.g. dithered) to color the scrollbar track.
102
-
If just one of scrollbar-face-color and scrollbar-highlight-color is not auto, it is used to color the scrollbar track.
103
-
104
-
If scrollbar-face-color computes to auto and scrollbar-base-color is not auto,
105
-
then use its value for scrollbar-face-color.
106
-
107
-
If scrollbar-3dlight-color computes to auto and scrollbar-base-color is not auto,
108
-
then use its value for scrollbar-3dlight-color.
88
+
If scrollbar-track-color computes to auto, and scrollbar-face-color is not auto,
89
+
it is used to color the scrollbar track.
109
90
110
91
If an element has both horizontal and vertical scrollbars, and the scrollbar-face-color is not auto,
111
92
use it for the area in the corner between the two scrollbars.
@@ -122,26 +103,21 @@ PNG of the same in a browser that supports it currently)
122
103
Implementations may ignore any scrollbar color properties for scrollbar parts that do not exist
123
104
on the underlying platform.
124
105
125
-
Note: when a user interacts with a scrollbar (e.g. arrow buttons or scroll thumb if any),
126
-
implementations may alter which scrollbar colors apply to which scrollbar parts (e.g. replace 3dlight and darkshadow colors with their shadow color, and highlight and shadow colors with their face color.
106
+
Note: when a user interacts with a scrollbar (e.g. hovering or activating),
107
+
implementations may alter which scrollbar colors apply to which scrollbar parts.
127
108
128
109
Note: IE uses named System Colors as defaults for each of the scrollbar color properties.
129
110
See related <a href="https://github.com/w3c/csswg-drafts/issues/1956">Issue 1956</a>.
0 commit comments