Re: [csswg-drafts] [css-align] Center alignment can be improved (#4659)

I wrote down Ian's suggested behavior wrong; his intention is to essentially let it grow in both directions from the center of the staticpos containing block, stopping when it hits one of the edges of the abspos containing block.

The mechanics, then, are find the smaller of the distances from the *center* of the staticpos containing block to the abspos containing block edge, then double that and stick it to the abspos containing block edge that was selected, then center the item in that space.  This makes sense!

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

Received on Thursday, 9 January 2020 22:15:13 UTC