W3C home > Mailing lists > Public > www-style@w3.org > October 2012

Re: [css3-flexbox] stretch apply to percentage heights WAS: Children of flex items ignoring cross-axis percentage length

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 16 Oct 2012 10:55:53 -0700
Message-ID: <CAAWBYDAgri01bm86FLi4PpceHS1SnrRFhdAxYzh8qdTOVnEVwQ@mail.gmail.com>
To: "Kang-Hao (Kenny) Lu" <kanghaol@oupeng.com>
Cc: Ojan Vafai <ojan@chromium.org>, Rudolph Gottesheim <r.gottesheim@loot.at>, Morten Stenshorne <mstensho@opera.com>, WWW Style <www-style@w3.org>
On Tue, Oct 16, 2012 at 4:52 AM, Kang-Hao (Kenny) Lu
<kanghaol@oupeng.com> wrote:
> (12/10/10 4:21), Tab Atkins Jr. wrote:
>> On Tue, Oct 9, 2012 at 11:19 AM, Ojan Vafai <ojan@chromium.org> wrote:
>>> http://jsfiddle.net/GgzGf/6/
>>>
>>> If a percentage height doesn't apply (e.g. because it's standards mode and
>>> the containing block is auto-sized), should stretch apply to that flex item?
>>>
>>> Currently in WebKit and, per the flexbox spec, it does not. I don't feel
>>> strongly either way. Just want to confirm that this is the desired behavior.
>>
>> Actually, according to 2.1
>> <http://www.w3.org/TR/CSS21/visudet.html#the-height-property>, a
>> non-resolvable percentage height should *compute* to auto, which means
>> that "stretch" should apply to it.
>
> Oh, please. I recall this issue come up multiple times already... let me
> browse my www-style archive...
>
> Here you go:
>
> http://lists.w3.org/Archives/Public/www-style/2011Oct/0712
> http://lists.w3.org/Archives/Public/www-style/2011Sep/thread#msg8
> http://lists.w3.org/Archives/Public/www-style/2010Feb/0080
>
> Can we do something about this?
>
> (I have no idea what this thread is about. But seeing this again makes
> me cry.)

Sigh, got it.  I can't keep track of all the errata; this stuff needs
to be *in-document* if we expect anyone to pay attention to it.

~TJ
Received on Tuesday, 16 October 2012 17:56:40 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT