-
Notifications
You must be signed in to change notification settings - Fork 715
[css-color-5] Does relative colors support current color? #9238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yup, |
From https://drafts.csswg.org/css-color-5/#resolving-rcs
nested-color-mix-with-currentcolor.html is listed as a test, but it's about |
parsing/color-computed-relative-color.html does not test |
Yes, it should. |
Uh oh!
There was an error while loading. Please reload this page.
The origin color for the relative color syntax takes a
<color>
so I assume that includes the currentcolor keyword. I don't see a specific mention of this, in the spec but according to wpt (and the implementation in WebKit) currentcolor is not tested/supported.Most notably if it is supported I guess we should be able to serialize the relative syntax as
rgb(from currentcolor r g b)
and not an already computed color.The text was updated successfully, but these errors were encountered: