W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2019

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 18 Jul 2019 23:15:43 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-513028325-1563491742-sysbot+gh@w3.org>
Reopening, as @bfgeek is messing with this code in LayoutNG and thinks we resolved wrong for center alignment.

In particular, he believes that the correct answer is to find the smaller of the start- and end-aligned sizes, then double that. This lets it fill out the abspos containing block as much as it can while still remaining centered on one of the "significant edges" of the staticpos containing block.

This is apparently what Edge does.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1432#issuecomment-513028325 using your GitHub account
Received on Thursday, 18 July 2019 23:15:45 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:50 UTC