Re: [csswg-drafts] [css-color-5] Is relative colors "omitted alpha" rule useful? (#10991)

There is interop for the current specification and this behavior is well documented: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_colors/Relative_colors#:~:text=Optionally%2C%20an%20alpha%20channel%20value%20for%20the%20output%20color%20can%20be%20defined%2C%20preceded%20by%20a%20slash%20(/).%20If%20the%20alpha%20channel%20value%20is%20not%20explicitly%20specified%2C%20it%20defaults%20to%20the%20alpha%20channel%20value%20of%20the%20origin%2Dcolor%20(not%20100%25%2C%20which%20is%20the%20case%20for%20absolute%20color%20values).

There also is no way to do feature detection for such a change.

Authors could always write an explicit alpha component even for `100%` during the transition period. Would take a long time, but relatively speaking, still a short term pain point.

-- 
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10991#issuecomment-2389643021 using your GitHub account


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

Received on Wednesday, 2 October 2024 20:31:01 UTC