Re: [csswg-drafts] [css-scrollbars-1] How are the specified color used? (#9851)

The CSS Working Group just discussed `[css-scrollbars-1] How are the specified color used?`, and agreed to the following:

* `RESOLVED: no change to spec for non-transparent colors (tests need fixing)`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> florian: Contradiction between spec and tests<br>
&lt;fantasai> florian: tests are being more specific than the specs<br>
&lt;fantasai> florian: css-scrollbars allows setting color of thumb and track<br>
&lt;fantasai> florian: doesn't say how the color is used<br>
&lt;fantasai> florian: my interpretation was similar to accent-color, browser can use in a reasonable way<br>
&lt;fantasai> florian: if scrollbar is very plain, then it will be very basic<br>
&lt;fantasai> florian: but if has highlights, shadows, shaping, etc. then it would tint appropriately<br>
&lt;fantasai> florian: tests assume flat color<br>
&lt;fantasai> florian: and e.g. transparent means you can't see the scrollbar at all<br>
&lt;fantasai> florian: Either the tests or the spec are wrong, since they don't agree with each other<br>
&lt;emilio> q+<br>
&lt;fantasai> florian: Lea opined that it should indeed be like accent-color<br>
&lt;astearns> ack emilio<br>
&lt;fantasai> emilio: Agree in general, if you specify a color you're not forced to use just that color<br>
&lt;fantasai> emilio: but if you set both colors to transparent, it should probably require a transparent scrollbar<br>
&lt;fantasai> emilio: mostly because that's a useful way to e.g. show the scrollbar on :hover<br>
&lt;fantasai> florian: there's a separate issue on transparency<br>
&lt;fantasai> florian: could consider it a special case or not<br>
&lt;fantasai> florian: if no special case for transparency, then need to figure how how it's special<br>
&lt;astearns> ack fantasai<br>
&lt;fantasai> emilio: I added some of the transparent tests because someone was trying to go for this effect, and we didn't have it working on linux<br>
&lt;TabAtkins> fantasai: I agree with Lea's comment in the issue<br>
&lt;fantasai> https://github.com/w3c/csswg-drafts/issues/9851#issuecomment-1994722439<br>
&lt;TabAtkins> fantasai: You should use the colro to generate a usable scheme that matches the way the scrollbar is normally styled, and the color itself should be used *somewhere* (rather than just variations of it)<br>
&lt;fantasai> florian: Propose resolution that at least if the color isn't transparent, do what Lea said<br>
&lt;fantasai> astearns: so for non-transparent colors, current tests are invalid?<br>
&lt;fantasai> florian: right<br>
&lt;fantasai> florian: means it'll be hard to test, but that's a separate problem<br>
&lt;fantasai> astearns: Proposed no change to spec for non-transparent colors, meaning current tests are overprescriptive<br>
&lt;fantasai> florian: might add a note to highlight this impact, but no normative change to spec<br>
&lt;fantasai> +1<br>
&lt;fantasai> RESOLVED: no change to spec for non-transparent colors (tests need fixing)<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9851#issuecomment-2010013415 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 20 March 2024 16:36:43 UTC