RE: [css3-flexbox] anonymous flexbox children

The analogy with table is good in the way that nesting a valid table cell in a inline element creates an anonymous cell around the inline, and the nested cell is no longer part of this table. It does match my expectations for anonymous flex boxes.

Can we add specific language to the flexbox spec (I don't mind starting with my version;) so that implementors can agree or disagree?

-----Original Message-----
From: Tab Atkins Jr. [mailto:jackalmage@gmail.com] 
Sent: Monday, February 07, 2011 11:27 AM
Subject: Re: [css3-flexbox] anonymous flexbox children

I find this analogous to the table-repair algorithms.  Consider this:

<div .table>
  <div .table-cell></div>
  <span .table-cell></span>
  <span>
    <div .table-cell></div>
  </span>
</div>

This markup should create three cells, not five, right?  Flexboxes should work the same way.

~TJ

Received on Monday, 7 February 2011 20:59:00 UTC