W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

Re: [csswg-drafts] [css-align] Rules for align/justify-self on static position of absolutely-positioned boxes need more detail (#1432)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Thu, 07 Jan 2021 22:21:59 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-756423387-1610058118-sysbot+gh@w3.org>

Wrt (1), yes that is correct.
Wrt (2), not quite correct. `justify-self` and `align-self` don't change the static position itself, they change how the abspos is aligned within its inset-modified containing block. See https://drafts.csswg.org/css-position-3/#abspos-insets
Wrt (3), yes I believe you are correct. The goal was to give abspos a more consistent and straightforward model, in which the inset-modified containing block is calculated possibly affected by the peculiarities of its static position containing block’s layout model; and then the abspos is laid out inside this rectangle the same way in all cases. That the align-self axis of a flex child can change depending on whether it is a flex item or an abspos does seem to fall out of that. :)

If you think there might be some problem with making such changes, let us know!

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 7 January 2021 22:22:01 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:25 UTC