Re: [csswg-drafts] [css-position-3] Incorrect handling of auto inset properties in absolute positioning (#11242)

> The size of the IMCB does not determine the actual positioning of the abspos element

The alignment within the IMCB is determined by CSS Align as I already said.

> Honestly, it’s not clear what the IMCB is supposed to achieve.

I think it was added as part of the CSS Position overhaul of the CSS2 logic, which was trying to simplify the logic in a way that properly handles direction, writing mode, alignment, etc. But ask the editors who added it.

> the abspos element is sized to the dimensions of the IMCB

Not in general.

> This means the abspos box can be smaller than the IMCB

Yes. This doesn't require auto insets.

> additional meaning would need to be added to auto inset values to determine the abspos position

No, if the IMCB has a different size than the abspos, you just use CSS Align properties. At most you can affect the resolution of a `normal` self-alignment.

> I propose reverting the current inset definition to align with the CSS2 spec

CSS2 doesn't handle lots of modern things, like alignment.



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


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

Received on Wednesday, 20 November 2024 16:23:15 UTC