Skip to content

Remove relative color syntax from Interop 2022 #104

Closed
web-platform-tests/wpt-metadata
#2938

Description

@nt1m

** Test List **

  • css/css-color/parsing/relative-color-computed.html
  • css/css-color/parsing/relative-color-invalid.html
  • css/css-color/parsing/relative-color-valid.html

** Rationale **

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.

See w3c/csswg-drafts#7310 (comment)

Activity

  1. added
    test-change-proposal
    on Aug 4, 2022
  2. nt1m commented on Aug 4, 2022

    @nt1m
    MemberAuthor

    @foolip Can you please add this to tomorrow's agenda?

  3. jgraham commented on Aug 4, 2022

    @jgraham
    Contributor

    @emilio Do you agree with the proposal to remove these tests?

  4. foolip commented on Aug 4, 2022

    @foolip
    Member

    @una @argyleink @sesse can any of you help judge if dropping these tests makes sense for Chromium?

  5. emilio commented on Aug 5, 2022

    @emilio

    Yes, removing these for now would be great.

  6. foolip commented on Aug 5, 2022

    @foolip
    Member

    I prepared web-platform-tests/wpt-metadata#2938 to see what it'd look like.

  7. argyleink commented on Aug 8, 2022

    @argyleink

    I think it's fair to assess relative color syntax as not likely to ship in 2022

  8. nt1m commented on Aug 10, 2022

    @nt1m
    MemberAuthor

    @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.

  9. svgeesus commented on Aug 13, 2022

    @svgeesus

    Pinging @LeaVerou who is the CSS Color 5 editor who did most of the Relative Color Syntax spec work.

  10. LeaVerou commented on Aug 13, 2022

    @LeaVerou
    Member

    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.

  11. svgeesus commented on Aug 13, 2022

    @svgeesus

    @emilio had concerns with the syntax

    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.

  12. jensimmons commented on Aug 13, 2022

    @jensimmons
    Contributor

    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.

  13. LeaVerou commented on Aug 13, 2022

    @LeaVerou
    Member

    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.

  14. nt1m commented on Aug 13, 2022

    @nt1m
    MemberAuthor

    Quoting from w3c/csswg-drafts#7310 (comment) :

    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.

  15. emilio commented on Aug 14, 2022

    @emilio

    @emilio had concerns with the syntax

    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.

  16. sesse commented on Aug 15, 2022

    @sesse

    I don't have a problem of dropping this from Interop.

  17. foolip commented on Aug 15, 2022

    @foolip
    Member

    Thanks @sesse! With that, I think we have consensus, so I'll merge web-platform-tests/wpt-metadata#2938.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    test-change-proposal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions