@@ -27,15 +27,28 @@ maintained in the W3C csswg-drafts GitHub repository as css-scrollbars-1
27
27
Scope</h3>
28
28
<em> This subsection is non-normative.</em>
29
29
30
- This module adds color properties for styling the scrollbar (if any) of an element per
30
+ Based on
31
31
<a href="https://www.w3.org/wiki/Css-scrollbars#Use-cases">documented use-cases</a> ,
32
- and as has been increasingly adopted
33
- on the web since Windows IE 5.5 introduced it in 2000.
34
- [Note: Add citations of examples from Bugzilla 77790 and webcompat] .
32
+ there are three main use-cases around scrollbars this module intends to resolve:
33
+ <ol>
34
+ <li> Color scrollbars to fit better into the UI of a web application.
35
+ <li> Use thinner scrollbar when the scrolling area is small.
36
+ <li> Build customized scrollbars without affecting scrollability.
37
+ </ol>
35
38
36
- Out of scope:
37
- <a href="https://www.w3.org/wiki/Css-scrollbars#Why_not_pseudos">pseudo-elements for selecting specific parts of a scrollbar are unnecesssary</a>
38
- for the documented use-cases and are thus out of scope for this specification.
39
+ For addressing these use-cases, this module adds properties to control colors and
40
+ width of scrollbars (if any) of an element.
41
+
42
+ Pseudo-elements for selecting specific parts of a scrollbar is out of scope.
43
+ The WebKit implementation of pseudo-elements for scrollbar is
44
+ considered to be a feature mistakenly exposed to the web.
45
+ Main concerns against the pseudo-elements approach are:
46
+ <ul>
47
+ <li> Operating systems continuously evolve their scrollbar designs to provide better user experience,
48
+ beyond the ability of any set of pseudo-elements to accurately model this over time.
49
+ <li> Different platforms have different scrollbar structure means testing interop is harder,
50
+ because authors would need to take not only engine but also platforms into account.
51
+ </ul>
39
52
40
53
<h3 id="values">
41
54
Values</h3>
0 commit comments