W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

[csswg-drafts] [css-align] 'justify-self' should override 'auto' margins

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Sat, 20 May 2017 21:28:21 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-230180094-1495315700-sysbot+gh@w3.org>
dbaron has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-align] 'justify-self' should override 'auto' margins ==
The current rules for [applying `justify-self` to blocks](https://drafts.csswg.org/css-align/#justify-block) and [applying it to absolutely positioned elements](https://drafts.csswg.org/css-align/#justify-abspos) are structured so that `auto` margins override `justify-self`(with the possible exception of baseline alignment when orthogonal).

However, I tend to think:

* that the newer and more ergonomic API should override the older and less ergonomic API, and
* that it wouldn't be too difficult to structure the rules so that non-`normal` values of `justify-self` override `auto` margins,

so I would suggest that we change so that `justify-self` wins.

This also moves towards erasing the quirk that auto margins do safe alignment for normal flow blocks and for the inline dimension on abspos, but unsafe alignment for the block dimension on abspos.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1426 using your GitHub account
Received on Saturday, 20 May 2017 21:28:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 10:12:53 UTC