[csswg-drafts] [css-backgrounds-4] Allow declaring `box-shadow-offset` with a single value (#8568)

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

== [css-backgrounds-4] Allow declaring `box-shadow-offset` with a single value ==
I am sorry I did not comment on #4431 and #6083, but I did not know about them until today.

I think [`box-shadow-offset`](https://drafts.csswg.org/css-backgrounds-4/#propdef-box-shadow-offset) could be defined with `none | <length>{1,2}#` instead of `none | <length>{2}#`.

[`<spread-shadow>`](https://drafts.csswg.org/css-backgrounds-4/#typedef-spread-shadow) would have to be defined with `<'box-shadow-color'>? && <length>{1,4} && <'box-shadow-position'>?` with a prose saying that the first two `<length>`s are for `box-shadow-offset`, etc, and that it always serialize with two explicit `<length>`s in `box-shadow`, when other `<length>`s are not omitted.

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


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

Received on Monday, 13 March 2023 09:25:28 UTC