W3C home > Mailing lists > Public > public-fx@w3.org > April to June 2011

Re: [css3-images] Defining SVG paint servers as a CSS <image>

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 29 Jun 2011 23:58:48 -0700
Message-ID: <BANLkTi=2sUGK2Hh6ZO3rdVRjjnqGEhOJVQ@mail.gmail.com>
To: robert@ocallahan.org
Cc: Erik Dahlstrom <ed@opera.com>, Rik Cabanier <cabanier@gmail.com>, public-fx@w3.org
On Wed, Jun 29, 2011 at 9:50 PM, Robert O'Callahan <robert@ocallahan.org> wrote:
> On Thu, Jun 30, 2011 at 4:32 PM, Tab Atkins Jr. <jackalmage@gmail.com>
> wrote:
>> In that case, do you allow a url in element(), or can it only refer to
>> inline SVG?
>
> It can be any URI. If it's not the local document, we treat it as an
> external SVG resource like other SVG properties with URI values.

Hmm, then.  I was assuming that the #id argument was like a selector,
not a url.  That matched up with how I'd like a future extension to
the function to look (when <element-reference> is used as more than
just a type of <image>).  Allowing it to be a url changes things a
bit.

I think I can get it in while keeping the meaning I want, by forcing
urls to be quoted strings.  I already force this in image(), because
the grammar for unquoted-url() is just silly.

~TJ
Received on Thursday, 30 June 2011 06:59:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 30 June 2011 06:59:37 GMT