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

Re: Suspect CSS2.1 test case

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 11 Sep 2008 16:35:02 -0700
To: Ben Cotterell <ben.cotterell@antplc.com>
Cc: www-style@w3.org
Message-ID: <20080911233502.GA16255@pickering.dbaron.org>

On Thursday 2008-09-11 22:18 +0100, Ben Cotterell wrote:
> Still it is very unusual. Nowhere else do you have to take into account
> what something's height is going to be when working out its available
> width.

Well, it's more that if it doesn't work out, you retry at the
narrower width.  (You can't know how tall a line is going to be
until you know what's on it, and you can't know what's on it until
you know how wide it is.  However, retrying at a narrower width
can't mean you end up with more on the line, so the worst case is
that you retry once and end up sticking with a result that's shorter
than necessary.)

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 11 September 2008 23:35:55 GMT

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