[csswg-drafts] [css-color-5] Relative color syntax channel keyword multiplication with percentages (#10041)

romainmenke has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-5] Relative color syntax channel keyword multiplication with percentages ==
`<number> * <percentage>` works in Chrome:

```css
oklch(from red calc(1 * 50%) c h)
```

`l * <percentage>` doesn't work in Chrome.

```css
oklch(from red calc(l * 50%) c h)
```

https://codepen.io/romainmenke/pen/PogPgmV

@svgeesus This is mostly just a sanity check.

As far as I know there isn't anything special here and multiplying channel keywords by percentages should just work.

If so, I will file the needed bugs and add more WPT tests.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10041 using your GitHub account


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

Received on Thursday, 7 March 2024 10:33:31 UTC