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

Re: [css3-flexbox] overflow property

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sun, 13 May 2012 03:42:37 -0700
Message-ID: <4FAF901D.7000605@inkedblade.net>
To: www-style@w3.org
On 05/11/2012 06:18 AM, Tab Atkins Jr. wrote:
> On Fri, May 11, 2012 at 2:58 PM, Morten Stenshorne<mstensho@opera.com>  wrote:
>> Should the 'overflow' property apply to flexboxes? Implementations do
>> support it, and I think it makes sense to do so.
>>
>> However, the flexbox spec (20120510) says that "Flexboxes are not block
>> containers", and CSS21 says that 'overflow' applies to block containers
>> only.
>>
>> BTW: When it comes to "the other non-block container thing", namely
>> tables, it looks like we have all agreed to honor overflow:hidden, while
>> overflow:scroll and overflow:auto are treated as overflow:visible...
>
> CSS21 needs fixing there.  Anton, fantasai, you led me astray!  Y'all
> told me that it doesn't make sense to call it a block context!

Because it isn't! You aren't formatting flexbox items as block flow.

We could say "block containers and boxes that estabish a formatting context",
but I'm not sure how that interacts with tables. The table box presumably
establishes a table formatting context.

~fantasai
Received on Monday, 14 May 2012 03:56:01 GMT

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