@@ -80,7 +80,7 @@ Value Definitions</h3>
8080
8181<pre class="propdef">
8282Name : scrollbar-color
83- Value : auto | dark | light | <<color>>{2}
83+ Value : auto | <<color>>{2}
8484Initial : auto
8585Inherited : yes
8686Computed value : specified keyword or two computed colors
@@ -99,18 +99,6 @@ scrollbar-color value set on the HTML body element are not propagated to the vie
9999<dl dfn-type="value" dfn-for="scrollbar-color">
100100<dt> <dfn>auto</dfn> </dt>
101101<dd> default platform rendering for the scrollbar.</dd>
102- <dt> <dfn>dark</dfn> </dt>
103- <dd>
104- show a dark scrollbar,
105- which can be either a dark variant of scrollbar provided by the platform,
106- or a custom scrollbar with dark colors.
107- </dd>
108- <dt> <dfn>light</dfn> </dt>
109- <dd>
110- show a light scrollbar,
111- which can be either a light variant of scrollbar provided by the platform,
112- or a custom scrollbar with light colors.
113- </dd>
114102<dt> <dfn><<color>></dfn> </dt>
115103<dd>
116104apply the first color to the thumb of the scrollbar,
@@ -142,11 +130,6 @@ if the corresponding part do not exist on the underlying platform.
142130When using 'scrollbar-color' property with specific color values,
143131authors should ensure the specified colors have enough contrast between them.
144132For keyword values, UAs should ensure the colors they use have enough contrast.
145- UAs should ensure that their actual color values for
146- ''scrollbar-color/light'' and ''scrollbar-color/dark''
147- should provide sufficient contrast with the element’s background
148- (i.e. ''scrollbar-color/light'' on a light background and ''scrollbar-color/dark'' on a dark background
149- should always have sufficient contrast)
150133See
151134<a href="https://www.w3.org/TR/WCAG21/#non-text-contrast">WCAG 2.1 SC 1.4.11 Non-text Contrast</a>
152135[[WCAG21]] .
@@ -256,6 +239,10 @@ This appendix is <em>informative</em>.
256239This appendix describes changes from the
257240<a href="https://www.w3.org/TR/2018/WD-css-scrollbars-1-20180925/">First Public Working Draft (FPWD) of 25 Sep 2018</a> .
258241<ul>
242+ <li> <a href="https://github.com/w3c/csswg-drafts/issues/6438">#6538</a> :
243+ removed <css> light</css> and <css> dark</css> values of 'scrollbar-color'
244+ in favor of allowing the UA to tune ''scrollbar-color/auto''
245+ in accordance with 'color-scheme' or other contextual information.
259246<li> <a href="https://github.com/w3c/csswg-drafts/issues/3237">#3237</a> :
260247 scrollbar-color computed value changed to: specified keyword or two computed colors
261248</li>
0 commit comments