Re: [csswg-drafts] [CSS 2.2] discrepancy in handling auto values for properties in width equality constraint (#11267)

> padding-left: auto

> This is not valid.

Thanks! I learned something.

The claim, "If there is exactly one value specified as auto, its used value follows from the equality," is indeed correct and quite clever!

I suggest alternate phrasing for a more straightforward explanation:

"If only one margin (either left or right) is set to auto while the other is not, and the width is not auto, the used value of the auto margin follows from the equality. Similarly, if the width is auto and both margins are non-auto, the used value of the auto width also follows from the equality."






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


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

Received on Monday, 25 November 2024 16:00:51 UTC