[csswg-drafts] [css-scrollbars] Resolved value of scrollbar-color

upsuper has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-scrollbars] Resolved value of scrollbar-color ==
In the initial implementation of `scrollbar-color` in Gecko, I followed the way color properties are handled for gCS, basically according to the following sentence in CSSOM spec:
> A resolved value special case property like color defined in another specification ... The resolved value is the used value.

But it is not clear to me whether this is actually useful at all, and should we make it follow other color properties to be the "special case" for gCS.

Although Gecko currently implements the "special case" way, i.e. `auto` is computed to two colors, I'm happy to make it not the case, because that's actually simpler. Also with the introduction of `light` and `dark`, maybe it makes sense to say `auto` doesn't necessarily mean two colors, so it shouldn't be resolved to two colors?

Anyway, I think this needs to be made clear in the spec one way or the other.

cc @tantek 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3237 using your GitHub account

Received on Tuesday, 23 October 2018 09:20:40 UTC