Re: what is the W3C SVG way to use an external css to style markers

Thanks a lot for your reply Robert.

Do you know if there is a W3C way to have <the file that called 
me>#markerintern5 that works for Opera and Firefox (and maybe for Chrome 
and Safari) ?

It's works if we write the name of the file (ie : a.svg#markerintern3 ) 
but if we want that's apply to all the svg files that will call this 
file ? (a nice way would have been to externalise in a svg file the 
marker, but as chromium and safari seems to not accept this).

I have tried with *, but without success.

I've searched also searched in :
http://www.w3.org/TR/SVG/intro.html#TermLocalIRIReference
http://www.w3.org/TR/SVG/intro.html#TermNonLocalIRIReference
http://www.w3.org/TR/SVG/linking.html#SVGFragmentIdentifiers

and on http://css-tricks.com/svg-sprites-use-better-icon-fonts/ where 
the problem seems to be present (in content and comments).

Best regards,

Ghislain

Le 29/09/2014 11:15, Robert Longson a écrit :
> #markerintern5 is a shorthand for <the file I am in>#markerintern5.
>
> Chrome and Safari don't get this right. So case 6 has Opera and Firefox getting it right.
>
> Robert.

Received on Monday, 29 September 2014 10:58:14 UTC