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

> The magical scaling of numbers by 255 was never in the specification; Chrome was incorrect to add it to their implementation.

Oops! My fault. I was mislead by some WPTs, which appear to be incorrect, no?

https://github.com/web-platform-tests/wpt/blob/master/css/css-color/parsing/color-computed-relative-color.html#L79C89-L80C101

I'll get to fixing that asap.

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


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

Received on Thursday, 11 January 2024 19:56:33 UTC