- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 16 Jun 2021 16:17:50 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Color Adjust`, and agreed to the following: * `RESOLVED: Add new keyword to forced-color-adjust as described above, apply it in UA default stylesheet for SVG root element` <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: Color Adjust<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/6310<br> <fantasai> https://github.com/w3c/csswg-drafts/issues/6310#issuecomment-858112357<br> <fremy> fantasai: the current proposal is not gonna get us in good shape in all cases<br> <fremy> fantasai: currently our resolution would not work if the svg has set its color explicitly<br> <fremy> fantasai: so my new proposal is that if the color is orginating from outside the svg then we recolor, but if not then we keep it<br> <fremy> fantasai: proposal is to add a new keyword for that magic behavior which depends on the origin of the value of color<br> <alisonmaher> q+<br> <iank_> I'm getting very warbled audio - is this is the for others?<br> <fremy> fantasai: (if you are not inheriting from outside, then we don't reset the color)<br> <fantasai> alisonmaher: I agree with the proposal<br> <astearns> ack alisonmaher<br> <fantasai> alisonmaher: only problem I wanted to ask about was whether we can do at computed value time<br> <fantasai> alisonmaher: if we take the used value of the color, might expose the color where otherwise wouldn't<br> <fantasai> TabAtkins: :visited won't be exposed that way<br> <fantasai> TabAtkins: that's done by selector-hacking<br> <fantasai> TabAtkins: and the rest of colors are already automatically exposed via getComputedStyle<br> <fantasai> TabAtkins: because gCS returns used value of color<br> <Rossen_> q<br> <fantasai> TabAtkins: so not sure there's info leakage problem<br> <fantasai> Rossen_: While we're on the topic, wrt TAG review<br> <fantasai> Rossen_: We convinced ourselves that having a grouping of color values that we essentially return just defaults for, and lie about the computed or used values<br> <fantasai> Rossen_: colors used for fingerprinting<br> <fantasai> Rossen_: could be a good path forward<br> <fantasai> Rossen_: These are magic values, you won't get the actual values though gCS<br> <fantasai> Rossen_: benefit of user for privacy<br> <astearns> ack fantasai<br> <fremy> fantasai: this is a different issue though<br> <fantasai> fantasai: That's a separate issue, here https://github.com/w3c/csswg-drafts/issues/5710<br> <fremy> fantasai: in that issue there are further comments there that says why it's probably not possible<br> <fremy> fantasai: but this is not linked to our current issue here<br> <fantasai> astearns: If we end up doing anything special for particular sources of colors<br> <fantasai> astearns: if we add this new mechanism, we'd have to do whatever magic here, too<br> <fantasai> fantasai: You'd also have to taint Canvas, and a lot of other things, yeah.<br> <fantasai> astearns: alisonmaher is it enough to note that, whatever protections would end up happening here also?<br> <fantasai> alisonmaher: We're storing [?] in chrome, so would be possible to do at used-value time<br> <fremy> fantasai: the issue is that would have to track this down the tree<br> <fremy> fantasai: and this type of tracking is usually done via inheritance<br> <fremy> fantasai: I don't think implementations have a special inherit for colors<br> <fantasai> alisonmaher: We inherit that info separately in Chromium<br> <fantasai> astearns: So what do we resolve to deal with this<br> <fremy> fantasai: we need to add a new value<br> <fantasai> fantasai: We need to a new value to forced-color-adjust<br> <fantasai> fantasai: as described in https://github.com/w3c/csswg-drafts/issues/6310#issuecomment-858112357<br> <fantasai> fantasai: We can call it something else, but need something that behaves like that<br> <fantasai> astearns: New value, not something to add to default?<br> <fantasai> TabAtkins: Yes, absolutely<br> <fantasai> TabAtkins: and needs to be set in default UA stylesheet for SVG root element<br> <fantasai> astearns: exposed to author styles?<br> <fantasai> TabAtkins: yes; don't want it to be special unspecifiable magic<br> <fantasai> astearns: So proposed resolution is to add this keyword<br> <fantasai> astearns: and to add that to the defautl UA stylesheet<br> <fantasai> RESOLVED: Add new keyword to forced-color-adjust as described above, apply it in UA default stylesheet for SVG root element<br> <fremy> fantasai: other than this issue<br> <fantasai> https://github.com/w3c/csswg-drafts/labels/css-color-adjust-1<br> <fremy> fantasai: we have no other remaining issue for the spec<br> <fremy> fantasai: so our plan is to make the edit<br> <fremy> fantasai: publish a new draft<br> <fremy> fantasai: and ask for last comments before trying to propose to make a recommendation<br> <fremy> fantasai: so, heads up<br> <fremy> astearns: and get wide review?<br> <fremy> fantasai: we already have sent an email (... missed)<br> <fantasai> https://github.com/w3c/csswg-drafts/issues/5768<br> <fantasai> in December<br> <fremy> astearns: sounds like a good plan<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6310#issuecomment-862517612 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 16 June 2021 16:18:24 UTC