W3C home > Mailing lists > Public > www-style@w3.org > September 2006

Re: Specifying intrinsic width and table layout behavior

From: L. David Baron <dbaron@dbaron.org>
Date: Sat, 2 Sep 2006 14:11:15 -0700
To: www-style@w3.org
Message-ID: <20060902211115.GA8050@ridley.dbaron.org>
On Saturday 2006-09-02 13:10 -0700, Andrew Fedoniouk wrote:
> David, I cannot see why fourth box should have the same width as others in 
> these tests:
> 
> http://dbaron.org/css/test/intrinsic/block-overflowing-block-min
> http://dbaron.org/css/test/intrinsic/block-overflowing-text-max
> http://dbaron.org/css/test/intrinsic/block-overflowing-text-min
> 
> I've attached screenshot of what I have on them.
> 
> Last block is defined as:
> 
> <div id="ref" style="width: 1em"> </div>

The fourth block is the reference rendering.  The issue is that the
other blocks should all be narrower, as they are in Mozilla, Opera, and
Konqueror (rather than the way you show, as they are in IE/Windows).  In
other words, an explicit width on a block should prevent that block's
descendants from affecting the intrinsic width of that block's
ancestors.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Saturday, 2 September 2006 21:11:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:46 GMT