Skip to content

Commit bf1f01c

Browse files
committed
[css-scrollbars-1] Editorial clarification
Explain why the UA is allowed to change how it renders scrollbars in order to color them. See w3c#6443
1 parent 2cd2317 commit bf1f01c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

css-scrollbars-1/Overview.bs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,16 @@ which is generally fixed regardless of the scrolling position.
123123
Thumb refers to the moving part of the scrollbar,
124124
which usually floats on top of the track.
125125

126-
If this property computes to value other than ''scrollbar-color/auto'',
126+
If this property computes to a value other than ''scrollbar-color/auto'',
127127
implementations may render a simpler scrollbar than the default platform UI rendering,
128128
and color it accordingly.
129129

130+
Note: Sometimes the UA is unable to customize the colors of native scrollbars,
131+
perhaps due to how they're structured,
132+
or to a lack of control given by the native toolkit.
133+
The provision above allows the UA to replace them with differently-constructed scrollbars,
134+
which it does know how to color.
135+
130136
(Note: add diagram showing the different named pieces - something like
131137
<a href="http://www.howtocreate.co.uk/tutorials/scrlbar.html">http://www.howtocreate.co.uk/tutorials/scrlbar.html</a>)
132138

0 commit comments

Comments
 (0)