Re: [csswg-drafts] [css-values] Inconsistent position serialization (#2274)

For `<bg-position>`’s 3-value syntax, we currently have interop across all browsers on serializing 3-value inputs as 3-value output, exactly preserving the author's specified components (but rearranging them to horizontal-vertical order, if needed), see [testcase](https://www.software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cbody%20style%3D%22background-position%3A%20left%2025px%20top%2C%20left%20top%2025px%2C%20left%2010px%20center%2C%20center%20top%2010px%2C%20top%2010px%20left%22%3E%0A%0A%3Cscript%3E%0Aw(document.body.style.backgroundPosition)%3B%0Aw(getComputedStyle(document.body).backgroundPosition)%3B%0A%3C%2Fscript%3E).

Agenda+ to discuss reverting the previous resolution to force these into 4-value serializations, and preserving the author's 3-value expression.

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


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

Received on Friday, 27 October 2023 20:50:09 UTC