W3C home > Mailing lists > Public > www-svg@w3.org > January 2006

Re: SVGT 1.2: !important is an error

From: Robin Berjon <robin.berjon@expway.fr>
Date: Thu, 12 Jan 2006 11:29:14 +0100
Message-Id: <43A0C481-5C3E-417C-A97D-2CC48F33402A@expway.fr>
Cc: www-svg@w3.org
To: Anne van Kesteren <fora@annevankesteren.nl>

On Jan 12, 2006, at 11:07, Anne van Kesteren wrote:
> Quoting Ola Andersson <Ola.Andersson@ikivo.com>:
>> Thanks for your comment but we believe the spec is correct as is. The
>> spec just says that !important isn't supported within presentation
>> attributes. A presentation attribute isn't a stylesheet so the
>> restriction doesn't break compatibility with CSS.
>
> Wasn't it so that till now the thought was that the CSS parser  
> could somehow be
> reused for attribute values as well? Because in that case "red !  
> important" as
> attribute value would not be ignored by browsers who actually did  
> that... The
> same for "red /* blah */" and lots of other things already pointed  
> out on this
> list.

Sure for the style attribute and the such, but not that I know of for  
attribute values. It wouldn't gain us much in Tiny where CSS isn't  
mandated by the spec.

-- 
Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/
Received on Thursday, 12 January 2006 10:29:04 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:33 GMT