@@ -207,6 +207,20 @@ Value Definitions</h3>
207207 The <dfn>thumb</dfn> refers to the moving part of the scrollbar,
208208 which usually floats on top of the [=track=] .
209209
210+ Some scrollbars also include additional controls,
211+ refered to as <dfn>buttons</dfn> ,
212+ which usually sit at the top or bottom of the scrollbar
213+ on top of the [=track=] .
214+ This specification does not define
215+ whether and how buttons--
216+ if present--
217+ are colored.
218+
219+ <figure>
220+ <img src="images/parts.svg" width=270 height=129>
221+ <figcaption> Anatomy of a scrollbar</figcaption>
222+ </figure>
223+
210224 If this property computes to a value other than ''scrollbar-color/auto'' ,
211225 implementations may render a simpler scrollbar than the default platform UI rendering,
212226 and color it accordingly.
@@ -235,6 +249,7 @@ Value Definitions</h3>
235249 as well as a darker outline,
236250 all derived from the specified shade of blue;
237251 the light gray [=track=] has a darker outline.
252+ This design also happens to include [=buttons=] .
238253
239254 <img src="images/non-flat-bar.png"
240255 alt="A horizontal scrollbar with a textured, shaded and outlined blue thumb,
@@ -253,12 +268,6 @@ Value Definitions</h3>
253268 as was commonly seen in scrollbar designs of the early 2020s">
254269 </div>
255270
256- Issue: add diagram showing the different named pieces - something like
257- <a href="http://www.howtocreate.co.uk/tutorials/scrlbar.html">http://www.howtocreate.co.uk/tutorials/scrlbar.html</a>
258-
259- Issue: add example of an overflow element with colorized scrollbars to match page styling,
260- PNG of the same in a browser that supports it currently.
261-
262271 Implementations may ignore any of the colors
263272 if the corresponding part do not exist on the underlying platform.
264273
0 commit comments