Re: [cssom] simple assignment involving !important

On Tue, 2007-05-06 at 14:33 +0200, Anne van Kesteren wrote:
> Testing shows that Internet Explorer 7 does not support it and Opera 9 and  
> Firefox 2 do... Given that .width is basically a shorthand for  
> setProperty("width", setted value, null) I suppose what Internet Explorer  
> 7 does is more logical. Except that it throws an exception. It seems more  
> natural to simply ignore the setting to maintain the forward compatible  
> parsing rules of CSS.
> 
> Also, "setted value" above has to be parsed per the "S* expr" grammar from  
> CSS 2.1 (or some superset of that if the browser supports more).
> 
> Would specifying something to that effect make sense? Probably indicating  
> that including !important would lead to the method call being ignored?

Either ignored or treated as without !important. I can't think of a
reason why specificity would matter in this case.
-- 
        Thank you for your time.
                Regards, Zoffix Znet
                ( http://zoffix.com , http://haslayout.net )

Received on Tuesday, 5 June 2007 12:56:59 UTC