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

RE: SVGT 1.2: !important is an error

From: Doug Schepers <doug.schepers@vectoreal.com>
Date: Thu, 12 Jan 2006 05:22:36 -0500
To: "'Anne van Kesteren'" <fora@annevankesteren.nl>, "'Ola Andersson'" <Ola.Andersson@ikivo.com>
Cc: <www-svg@w3.org>, <eseidel@apple.com>
Message-Id: <20060112102240.2513EBE8E@pillage.dreamhost.com>

Hi, Anne-

Anne van Kesteren wrote:
| 
| 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.

I'm personally leaning to the school of thought that there is no easy
reconciliation between CSS and SVG on this and several other issues as
regards parser reuse. I don't think this is a terrible thing, either, since
it's established that parsers for such values aren't very difficult to
write, nor are they processor intensive.

In this particular issue, "!important" in a presentation attribute is also
meaningless, since the CSS and SVG WGs have defined presentation attributes
to have a computed specificity of zero.

Regards-
Doug

doug.schepers@vectoreal.com
www.vectoreal.com ...for scalable solutions.
 
Received on Thursday, 12 January 2006 10:22:45 GMT

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