- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Tue, 13 May 2025 23:06:31 +0000
- To: public-css-archive@w3.org
> it becomes inconsistent with all of the other alignment values which do not win over auto margins. You can see it in a different way. Ignoring float details from [#9963](https://github.com/w3c/csswg-drafts/issues/9963), - Self-alignment properties can have 2 different effects: - They can force the automatic size to be `fit-content` - They align the margin box - Auto margins can have 2 different effects: - They can force the automatic size to be `fit-content` - They align the border box by modifying the size of the margin box So it's not really a matter of which wins. If neither `stretch` alignment nor `auto` margins force a `fit-content` size, then neither alignment effect will be observable. If other alignment values force a `fit-content` size, then auto margins can take the free space, and then aligning the margin box is not observable. Doesn't seem self-inconsistent to me. > inconsistent between abspos and all other layout models It would be consistent with block-level layout, where `auto` margins do not prevent `justify-self: normal/stretch` from stretching. For other values it needs to be confirmed in #12102, but I would say that again abspos and block-level layouts should be consistent. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11195#issuecomment-2878150446 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 13 May 2025 23:06:32 UTC