You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove relative color syntax from Interop 2022 #104
CSSWG has not mentioned relative color syntax is ready to ship (@emilio had concerns with the syntax) unlike color-mix() or gradient color space interpolation, and only WebKit has a working implementation. At this stage of the year, we feel like spec work is not appropriate.
@foolip Is this safe to assume there's consensus to remove the tests?
Fwiw, WebKit also has a PR to enable relative color syntax (which would make all those tests pass), but given the lack of signals from CSSWG, my position is to remove them from 2022 for now.
I think it makes total sense to prioritize color-mix(), wide gamut colors, and gradient interpolation over RCS, but I'm still hoping there might be some space in Interop 2022 for color manipulation, as this is essential for design systems. color-mix() can satisfy some use cases, but not all. It doesn't look like there are any open issues on it, only some thoughts expressed in a call. I think we'll have more clarity once actual issues are filed.
I see zero open issues on RCS. @emilio could you open one, so we know what your issue was? If it was mentioned in passing in another issue feel free to link to that.
I think it makes sense to prioritize color-mix(), wide gamut colors, and gradient interpolation over RCS, yes.
This is not the issue at hand. There is no "prioritization" involved here.
The CSSWG resolved that several color related features have standards that are complete, and so the features can be shipped.
Relative color syntax was not on that list because it was deemed not ready. The recommendation was that browsers should not ship relative color syntax.
Because of this fact, these tests should not be part of the Interop 2022 score. Interop only scores things that are fully standardized and shippable.
If you believe the spec is ready, Lea, and browsers should ship, then please raise the issue at the CSSWG to change the past resolution. With such a resolution, this can remain in Interop 2022.
If there is work to be done, please ensure it is done, so browses can ship later, and these tests can be removed for now, and added to Interop 2023 later.
This issue is not the place to debate whether or not relative color syntax is shippable. Please do that work in the CCSWG.
This issue is to clarify whether or not existing WPT for relative color syntax should be included in Interop 2022.
If you believe the spec is ready, Lea, and browsers should ship, then please raise the issue at the CSSWG to change the past resolution. With such a resolution, this can remain in Interop 2022.
There is no resolution to change, because there is no resolution that RCS is not ready to ship. For your reference, the three actual resolutions from that discussion are here and here.
emilio: about relative color syntax, less enthusiastic because only one implementation
emilio: and their implementation seems to have same interop concerns as color-mix() where we had differences between WebKit / gecko
emilio: so not so sure about it ready to ship
fantasai: happy with emilio's proposal to resolve on color-mix() + gradients but not yet on relative colors
There was a resolution, just buried in the conversation. Anyway, I do think it's a bit late at this point in the year to be wondering these kinds of questions for Interop, though I'll let the Chrome team make the final call.
I see zero open issues on RCS. @emilio could you open one, so we know what your issue was? If it was mentioned in passing in another issue feel free to link to that.
I had no specific concerns. The only thing I mentioned on the call was that I hadn't reviewed this feature at all, and that I thought flagging such a complex feature as ready to ship when it had not gone through multi-implementor review / etc felt a bit premature, specially given all the churn and specification issues other similar features (like color-mix()) had gone through.
Activity
nt1m commentedon Aug 4, 2022
@foolip Can you please add this to tomorrow's agenda?
jgraham commentedon Aug 4, 2022
@emilio Do you agree with the proposal to remove these tests?
foolip commentedon Aug 4, 2022
@una @argyleink @sesse can any of you help judge if dropping these tests makes sense for Chromium?
emilio commentedon Aug 5, 2022
Yes, removing these for now would be great.
foolip commentedon Aug 5, 2022
Here are the test results for ease of review:
https://wpt.fyi/results/css/css-color/parsing?label=master&label=experimental&product=chrome&product=firefox&product=safari&aligned&view=interop&q=label%3Ainterop-2022-color%20relative
foolip commentedon Aug 5, 2022
I prepared web-platform-tests/wpt-metadata#2938 to see what it'd look like.
argyleink commentedon Aug 8, 2022
I think it's fair to assess relative color syntax as not likely to ship in 2022
nt1m commentedon Aug 10, 2022
@foolip Is this safe to assume there's consensus to remove the tests?
Fwiw, WebKit also has a PR to enable relative color syntax (which would make all those tests pass), but given the lack of signals from CSSWG, my position is to remove them from 2022 for now.
svgeesus commentedon Aug 13, 2022
Pinging @LeaVerou who is the CSS Color 5 editor who did most of the Relative Color Syntax spec work.
LeaVerou commentedon Aug 13, 2022
I think it makes total sense to prioritize
color-mix(), wide gamut colors, and gradient interpolation over RCS, but I'm still hoping there might be some space in Interop 2022 for color manipulation, as this is essential for design systems.color-mix()can satisfy some use cases, but not all. It doesn't look like there are any open issues on it, only some thoughts expressed in a call. I think we'll have more clarity once actual issues are filed.svgeesus commentedon Aug 13, 2022
I see zero open issues on RCS. @emilio could you open one, so we know what your issue was? If it was mentioned in passing in another issue feel free to link to that.
jensimmons commentedon Aug 13, 2022
This is not the issue at hand. There is no "prioritization" involved here.
The CSSWG resolved that several color related features have standards that are complete, and so the features can be shipped.
Relative color syntax was not on that list because it was deemed not ready. The recommendation was that browsers should not ship relative color syntax.
Because of this fact, these tests should not be part of the Interop 2022 score. Interop only scores things that are fully standardized and shippable.
If you believe the spec is ready, Lea, and browsers should ship, then please raise the issue at the CSSWG to change the past resolution. With such a resolution, this can remain in Interop 2022.
If there is work to be done, please ensure it is done, so browses can ship later, and these tests can be removed for now, and added to Interop 2023 later.
This issue is not the place to debate whether or not relative color syntax is shippable. Please do that work in the CCSWG.
This issue is to clarify whether or not existing WPT for relative color syntax should be included in Interop 2022.
LeaVerou commentedon Aug 13, 2022
There is no resolution to change, because there is no resolution that RCS is not ready to ship. For your reference, the three actual resolutions from that discussion are here and here.
nt1m commentedon Aug 13, 2022
Quoting from w3c/csswg-drafts#7310 (comment) :
There was a resolution, just buried in the conversation. Anyway, I do think it's a bit late at this point in the year to be wondering these kinds of questions for Interop, though I'll let the Chrome team make the final call.
emilio commentedon Aug 14, 2022
I had no specific concerns. The only thing I mentioned on the call was that I hadn't reviewed this feature at all, and that I thought flagging such a complex feature as ready to ship when it had not gone through multi-implementor review / etc felt a bit premature, specially given all the churn and specification issues other similar features (like
color-mix()) had gone through.sesse commentedon Aug 15, 2022
I don't have a problem of dropping this from Interop.
foolip commentedon Aug 15, 2022
Thanks @sesse! With that, I think we have consensus, so I'll merge web-platform-tests/wpt-metadata#2938.