[csswg-drafts] [css-backgrounds-4] Clarify serialization of `box-shadow-*` (#8566)

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

== [css-backgrounds-4] Clarify serialization of `box-shadow-*` ==
Can you please clarify what should be the result from serializing the specified/computed value of these declarations:

  1. `box-shadow-offset: none`
  2. `box-shadow-offset: 0px 0px`
  3. `box-shadow: none`
  4. `box-shadow: currentColor none`
  5. `box-shadow: currentColor 0px 0px`

I would suggest to serialize 3-5 to `0px 0px` for back-compat, and maybe 1-2 for consistency.

https://drafts.csswg.org/css-backgrounds-4/#propdef-box-shadow
https://drafts.csswg.org/css-backgrounds-4/#propdef-box-shadow-offset

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8566 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:09:17 UTC