Re: [csswg-drafts] [css-values-4][cssom] Serialization of <position> (#8996)

https://wiki.csswg.org/ideas/mistakes

> `background-size` with one value should duplicate its value, not default the second one to auto. Ditto `translate()`.

I guess that a reasonable expectation would be that `background-position: 0px` behaves as `background-position: 0px 0px`, so serializing as `background-position: 0px center` can avoid misunderstandings.

See https://github.com/whatwg/compat/issues/28 and #7802.

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


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

Received on Wednesday, 21 June 2023 15:28:40 UTC