W3C home > Mailing lists > Public > www-style@w3.org > February 2011

RE: [css3-flexbox] anonymous flexbox children

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Mon, 7 Feb 2011 20:58:24 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
Message-ID: <D51C9E849DDD0D4EA38C2E539856928411E6AEA9@TK5EX14MBXC213.redmond.corp.microsoft.com>
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 GMT

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