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

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

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Mon, 22 May 2017 02:05:48 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-230267329-1495418747-sysbot+gh@w3.org>
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

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