- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 14 Sep 2015 17:26:41 -0700
- 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.
~TJ
Received on Tuesday, 15 September 2015 00:27:30 UTC