Re: [csswg-drafts] [css-background] Question about serialization of multiple layers of css background (#9254)

I don't think you can write that background property combination as a shorthand right now. So Firefox is right per https://drafts.csswg.org/cssom/#serialize-a-css-declaration-block. You get to step 8 because https://drafts.csswg.org/cssom/#serialize-a-css-value has:

> If there is no such shorthand or shorthand cannot exactly represent the values of all the properties in list, return the empty string.

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


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

Received on Tuesday, 29 August 2023 00:02:04 UTC