Cameron McCormack wrote:
Ok, I am just trying to iron some bugs out. I have this test file:
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400">
<g style="fill: blue !important">
<circle id="r" fill="yellow" cx="200" cy="200" r="75" stroke="black"/>
<text x="100" y="300">some text</text>
</g>
</svg>
In both Batik and ASV the circle is shown as yellow. Shouldn't the
important property on the g element override the fill="yellow" on the
circle? Or do I not know the CSS cascade properly?
Importance is not inherited. So the inherited property value
'loses' to the zero specificity rule from the 'fill' presentation
attribute.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]