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

Re: [css3-box] a width that is a little less than 'fit-content'

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 15 Sep 2009 09:55:12 -0700
To: www-style@w3.org
Message-ID: <20090915165512.GA20153@pickering.dbaron.org>
On Tuesday 2009-09-15 18:42 +0200, Bert Bos wrote:
> The proposed fourth kind would be in between min-content and 
> fit-content. An example probably explains it best. Consider a 
> containing block of this width:

> 3) fit-content:
>     <------------------------->
>     A paragraph of text that
>     doesn't fit on one line.
>     <------------------------->
> 
> 4) fit and then shrink more:
>     <------------------------->
>     A paragraph of text that
>     doesn't fit on one line.
>     <---------------------->

Gecko used to implement a concept like this, but we stopped doing so
when I reorganized the way we do intrinsic width calculation, and it
would now be rather hard to do.

I think IE7 and old Gecko (before Gecko 1.9 / Firefox 3) browsers
exhibit this behavior for some examples of table layout, but other
browsers (Gecko since 1.9 / Firefox 3, WebKit, Opera) do not.  I'm
not sure about IE8.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Tuesday, 15 September 2009 16:55:49 GMT

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