W3C home > Mailing lists > Public > www-style@w3.org > March 2015

Re: [css-flexbox] Understanding flexbox-flex-direction-column.htm

From: Christian Biesinger <cbiesinger@google.com>
Date: Tue, 24 Mar 2015 21:47:27 -0400
Message-ID: <CAPTJ0XG0v91mzng8K0cSj3h80h6WNABehE8=+xubW8t7KSsyVw@mail.gmail.com>
To: Daniel Holbert <dholbert@mozilla.com>
Cc: www-style list <www-style@w3.org>
On Tue, Mar 24, 2015 at 9:44 PM, Daniel Holbert <dholbert@mozilla.com> wrote:
> On 03/24/2015 06:26 PM, Christian Biesinger wrote:
>> dholbert points out that "content" should be "auto" in this sentence
>> of the spec:
>>> If the item’s computed flex-basis is definite, or the item’s computed flex-basis is content and its computed main size property is definite
>>
>> Could someone update the spec? :) Thanks!
>
> Actually, on further reflection, I'm less sure about that. (I think I
> mixed this up with another content <--> auto renaming spec-bug which was
> actually fixed.)
>
> Stepping back: so, for that testcase to work, the spec needs to
> effectively say: "If you have a flex item with an explicit height &
> default flex properties, don't let its min-height:auto value resolve to
> anything larger than its explicit height."

Hmm but that doesn't actually seem right either. I just remembered this test:
http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/flexbox_min-width-auto.htm

Which explicitly assumes that min-width: auto would resolve to
something bigger than its width: 0. Same for the height version of
that testcase.

-christian
Received on Wednesday, 25 March 2015 01:47:54 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:49 UTC