W3C home > Mailing lists > Public > www-style@w3.org > March 2009

Re: Another question about anonymous table objects

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 09 Mar 2009 10:15:29 -0400
Message-ID: <49B52481.4050509@mit.edu>
To: www-style@w3.org
 > <!DOCTYPE html>
 > <html>
 >    <body>
 >      <div style="display: table">
 >        <div style="display: table-row-group">
 >          <div id="c1" style="display: table-cell">1</div>
 >          <div id="b" style="display: block">2</div>
 >          <div id="c2" style="display: table-cell">3</div>
 >        </div>
 >        <div style="display: table-row-group">
 >          <div style="display: table-row">
 >            <div style="display: table-cell">First</div>
 >            <div style="display: block">Second</div>
 >            <div style="display: table-cell">Third</div>
 >          </div>
 >        </div>
 >      </div>
 >    </body>
 > </html>
...
 > I don't have an IE8 beta on hand to test how that renders.

Someone was kind enough to check for me, and IE8 renders this like 
Webkit, Gecko, and Presto: the two cells and the block end up in a 
single row.

-Boris
Received on Monday, 9 March 2009 14:16:12 GMT

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