Re: [csswg-drafts] [css-align-3] Specifying justiy-self on block-level boxes wrt floats (#9963)

Testing with `<center>`:

 - Gecko centers the border box within the containing block shrunken to avoid floats. Margins only prevent the border box from going to close to the original containing block, they don't enforce any extra separation between the border box and the floats.
 - WebKit centers the margin box within the containing block shrunken to avoid floats. So margins add extra separations between the border box and the floats. If there isn't enough space, `margin-left` can make the border box overlap the right float, but `margin-right` can't make it overlap the left float.
 - Blink treats `margin-left` is a nonsensical way.

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


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

Received on Saturday, 17 February 2024 22:46:11 UTC