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

Re: Time to drop "almost standards mode"?

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 28 Jan 2008 14:53:44 -0800
To: www-style@w3.org
Message-ID: <20080128225344.GA18951@ridley.dbaron.org>

On Monday 2008-01-28 22:46 +0000, David Woolley wrote:
> Anne van Kesteren wrote:
>> * Introduce a CSS new property to toggle between the different behaviours 
>> defaulting to the "almost standards mode" one for HTML table elements.
>
> It would need to have file scope (although it does need to be processed 
> client side).  Otherwise it will break the cascade by modifying the 
> behaviour of user style sheets in a way that cannot be countered other than 
> by overriding the option for the author style sheets.

A property can't have file scope; an @-rule could.  An @-rule might
have actually been a better solution for box-sizing (the box-sizing
rules in scope would then need to be cascaded along with each
declaration of width, height, and (min/max)-(width/height)).

But I don't think it's a better solution here, since there are quite
a few properties that contribute to line height calculations.  In
particular, I don't see how you'd associate the necessary rules with
a particular declaration in a way that would make sense.  But maybe
I'm missing something?

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Monday, 28 January 2008 22:54:00 GMT

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