Re: [csswg-drafts] [css-color-5] Grammar for parsing relative colors? (#7721)

A value definition does not always represent the full production's grammar: it may be completed with some rules written in prose, like the channel keywords and the legacy `rgb()` whose value definition (w/ comma-separated args) is defined in CSS Color 4 (but is not included as an alternation in the "modern" value definition of `rgb()`). The motivation is to have a value definition that is less complex and whose parsing is certainly less complex to implement/run.

I hope it helps and that I'm not mistaken.

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


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

Received on Sunday, 11 September 2022 16:08:41 UTC