RE: SVGT 1.2: !important is an error

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 UTC