Re: text-decorations propagating into SVG

The text about text-decoration in SVG 1.1 indicates, that the property applies 
for text-content elements. 
It does not inherit by default, but the description is comparable to CSS.
However, the a element is in SVG not a  text-content element, therefore the 
text-decoration does effectively not apply, if it is not explictly set on
the text-content child elements.
This can be different, if the a element would be from another namespace,
like XHTML, but in such a case at least either the a-element or the 
svg-element should have some namespace indication. 
Finally one needs a complete document with namespace 
indications to see clearly what may apply and what not.
Else, obviously there are no rules, just arbitrary element names.



Olaf

Received on Tuesday, 26 August 2014 13:32:21 UTC