- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Tue, 19 Nov 2024 22:08:23 +0000
- To: public-css-archive@w3.org
> Could you include a link to the relevant CSS2 section? https://drafts.csswg.org/css2/#abs-non-replaced-width resolves `left: auto` after the size: > 1. [left](https://drafts.csswg.org/css2/#propdef-left) and [width](https://drafts.csswg.org/css2/#propdef-width) are auto and [right](https://drafts.csswg.org/css2/#propdef-right) is not auto, then the width is shrink-to-fit. Then solve for left > I tested using both `align-self: center;` and `justify-self: center;` on the #child div, but neither seemed to have any effect Yes, that's why I said that browsers seem to use the 2nd option. If they were doing the 1st option then the abspos would be aligned within the alignment container, which is the inset-modified containing block in this case. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11242#issuecomment-2486852356 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 19 November 2024 22:08:24 UTC