On Apr 29, 10:09 pm, Cameron McCormack <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > A better approach would be to give the stylesheet an accompanying .svg > > file and use external references to that SVG file. So foo.css would > > contain "filter:url(foo.svg#bar)". That would work pretty well if we > > can load the file once per base document and resolve all references to > > foo.svg to that same loaded document. Unfortunately the spec > >http://www.w3.org/TR/SVG/struct.html#URIReferencedoesn't say anything > > about this but perhaps that just means we can interpret it the way we > > want. > > Note that SVG Tiny 1.2 does say that these URI references should result > in the document being loaded just the once: > > http://www.w3.org/TR/SVGMobile12/linking.html#externalReferences > > Since in SVG 1.1 external documents couldn't be manipulated (scripts > didn't run, there was no way to get access to the corresponding Document > object), this didn't matter too much. I think it would be safe for SVG > documents referenced by CSS properties in HTML to be shared.
Ah, that's great to know! Thanks! Rob _______________________________________________ dev-tech-layout mailing list dev-tech-layout@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-layout