W3C home > Mailing lists > Public > www-svg@w3.org > November 2004

Re: Styling conflict

From: Chris Lilley <chris@w3.org>
Date: Thu, 18 Nov 2004 19:30:01 +0100
Message-ID: <903631340.20041118193001@w3.org>
To: Caleb Moore <donscarletti@internode.on.net>
Cc: www-svg@w3.org

On Wednesday, November 17, 2004, 2:04:34 PM, Caleb wrote:

CM> What should an svg renderer do when presentation attributes and style
CM> attributes conflict? It never really comes up in the spec

I encourage you to read the specification, which describes exactly what
to do.

Presentation attributes have specificity 0. The style attribute has
specificity 100 (changed in CSS 2.1 to be infinite).

CM> or anything
CM> and everyone seems to handle it differently to how we do (style
CM> overrides earlier presentation attributes).

I would be interested to see a test and some named implementations that
handle it differently. 'everyone' does not handle it differently. Its a
well defined part of the spec, referencing CSS2; and presumably,
referencing CSS 2.1 should that ever become finished.

CM> B.t.w. I'm not on the list so can you cc me

 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 Member, W3C Technical Architecture Group
Received on Thursday, 18 November 2004 18:30:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:01 UTC