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

Re: [css3-flexbox] Problems with Collapsed Items example

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 20 Jul 2012 10:58:15 -0700
Message-ID: <CAAWBYDAu_qip8mTt3BVOY-xKCNNEoFRyz=2KXO4Ayb_Svyxvzg@mail.gmail.com>
To: Morten Stenshorne <mstensho@opera.com>
Cc: www-style@w3.org
On Fri, Jul 20, 2012 at 10:23 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Fri, Jul 20, 2012 at 7:43 AM, Morten Stenshorne <mstensho@opera.com> wrote:
>> http://dev.w3.org/csswg/css3-flexbox/#visibility-collapse
>> (Editor's Draft, 19 July 2012)
>>
>> This example doesn't demonstrate collapsed flex items at all.
>>
>> The example sets 'visibility:collapse' on a regular list-item (UL). This
>> is not a list item, so it's treated as 'visibility:hidden'.
>>
>> There's also a missing semi-colon after 'order: 1' in the style sheet,
>> which fails to place "main" to the right (which actually makes it match
>> the sample rendering better :) ).
>
> Hm, you're right, that doesn't demonstrate it at all.
>
> Also, I thought we'd fixed the order:1; thing.  I guess it got
> clobbered by accident at some point.
>
> I'll tweak it into working.

Think I got it now.  It works according to the CSS layout engine in my
brain, though that's never actually run the testsuite, so I'm not sure
how accurate it is.

~TJ
Received on Friday, 20 July 2012 17:59:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:57 GMT