Re: Time to drop "almost standards mode"?

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 UTC