Re: [css3-flexbox] overflow property

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 UTC