Re: [csswg-drafts] [css-position-3] Section 3.5.1 Conflicts with CSS2 Positioning Behavior (#11258)

> the CSS2 specification defines several rules

Of course these are overridden by CSS Position and CSS Align.

> would result in a different positioning behavior

Your examples seem to behave the same. https://drafts.csswg.org/css-position/#abspos-margins

 - 1st example: both `auto` margins resolve to 0 since there is an `auto` inset.
 - 2nd example: both `auto` margins resolve to `((200px - 10px - 0px) - 100px) / 2 = 45px` since there is no `auto` inset.




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


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

Received on Thursday, 21 November 2024 16:26:18 UTC