[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#URIReference doesn'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.

-- 
Cameron McCormack, http://mcc.id.au/
        xmpp:[EMAIL PROTECTED]  ▪  ICQ 26955922  ▪  MSN [EMAIL PROTECTED]
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to