Re: [csswg-drafts] [css-color-5] relative color syntax: numbers vs. percentages in `calc()` (#9759)

I ran into exactly this issue when writing examples for the MDN relative colors documentation late last year, and was getting worried because I couldn't seem to find a way to write examples involving `calc()` that would work in both Chrome and Safari. At least I know now that it wasn't just me ;-)

In case it helps, you can see a preview of my work so far at https://github.com/mdn/content/pull/30967#issuecomment-1852475797. The [Relative colors guide examples section](https://pr30967.content.dev.mdn.mozit.cloud/en-US/docs/Web/CSS/CSS_colors/Relative_colors#examples) contains the most interesting examples.

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


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

Received on Friday, 5 January 2024 14:03:37 UTC