Re: Scope and range of styles

> That's what I was talking about: In a similar way as you may reference
> an external stylesheet in an HTML file (via the <link> tag), you may
> reference the very same external stylesheet in an SVG document (not via
> a <link> tag which does not exist in SVG, but via a <?xml-stylesheet ?>
> declaration, as the usual way for XML files to reference CSS files).
> Your assumption "[...] the SVG must then be complete in a single file"
> is simply wrong - your SVG file may reference CSS files as well as

No my assumption is right, otherwise you have a privacy leak.
https://bugzilla.mozilla.org/show_bug.cgi?id=628747 contains a
detailed discussion of this issue.

> JavaScript files, it may even be generated by another (non-SVG) XML file
> which references an XSLT file which might again reference other files ...

javascript isn't allowed in svg-as-an-image either. You'll find all
existing UAs enforce these rules.

Robert.

Received on Thursday, 25 September 2014 17:51:09 UTC