[csswg-drafts] [css-align] 'width: auto' turning into 'fit-content' isn't compatible with existing behavior

dbaron has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-align] 'width: auto' turning into 'fit-content' isn't compatible with existing behavior ==
As [@MatsPalmgren points out on Bugzilla](https://bugzilla.mozilla.org/show_bug.cgi?id=1105571#c19), the sentence at the end of [the definition of `justify-self`](https://drafts.csswg.org/css-align-3/#propdef-justify-self):

> Values other than stretch cause a width/height of auto to be treated as fit-content.

combined with the [rules for `justify-self` on blocks](https://drafts.csswg.org/css-align-3/#justify-block) mean that the spec makes the default behavior for blocks to be [`fit-content` sizing](https://drafts.csswg.org/css-sizing-3/#valdef-width-fit-content) rather than [`stretch` sizing](https://drafts.csswg.org/css-sizing-3/#stretch-fit-inline-size), which is not compatible with the existing behavior of blocks in the normal flow.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1437 using your GitHub account

Received on Monday, 22 May 2017 02:06:01 UTC