W3C home > Mailing lists > Public > www-style@w3.org > September 2015

Re: SVG image security restrictions

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 14 Sep 2015 17:26:41 -0700
Message-ID: <CAAWBYDBPrA8zqHe0pc3oZpgVSdUKvc+x6-i6QfnBFzwoPDSUug@mail.gmail.com>
To: "Robert O'Callahan" <robert@ocallahan.org>
Cc: "public-fx@w3.org" <public-fx@w3.org>, www-style <www-style@w3.org>
On Mon, Sep 14, 2015 at 5:04 PM, Robert O'Callahan <robert@ocallahan.org> wrote:
> A better idea might be to provide a way to pass in resources as parameters,
> including from a CSS style sheet. This might even perform better if you have
> a lot of SVG images using the same resources. Sketch:
>   background-image: url-with-params("image.svg", "shared-resources.svg");
> In the SVG:
>   <rect fill="param(1#pattern)">
> You'd require everything in url-with-params to be same-origin.

We've switched url() over to a function, so we can add arguments to it.

Received on Tuesday, 15 September 2015 00:27:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:57 UTC