[csswg-drafts] Pull Request: [css-images-4] Fix basic syntax of gradients

cdoublev has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-images-4] Fix basic syntax of gradients ==
Fixes #7986.

The current syntax makes the color stop list optional, which is obviously unexpected.

This PR also aligns CSS Images 4 with CSS Images 3 regarding `<size>` renamed to `<rg-size>` (resolving a conflict with `<ray()>`) and `<ending-shape>` renamed to `<rg-ending-shape>` (for consistency, I guess).

I am not sure if `a? b? || c` is different than `[a? b?]! || c` so I prefered the first option for simplicity.

See https://github.com/w3c/csswg-drafts/pull/8367


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

Received on Friday, 27 January 2023 07:32:34 UTC