W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css3-syntax][css3-values] use of IRIs in url() values

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 23 May 2012 13:24:04 +1000
Message-ID: <4FBC5854.3040606@mcc.id.au>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
CC: "www-style@w3.org" <www-style@w3.org>
Bjoern Hoehrmann:
> If you actually meant to talk about `url(ä)`,
> well, maybe just say `background-image: url(ä)` next time.

Yeah, sorry for the confusion.

>> By the way, the reason I ask about all this is so that I can I replace
>> all of the <funciri>s in SVG with <url>s, if possible.
> Last I heard the SVG WG did not want to use CSS syntax. And as far as I
> can tell from a brief look at "current" specifications,
>    fill="url(o\000308)"
> and
>    background-image: url(o\000308);
> refer to different resources. If you want to have CSS comments and CSS
> escapes in presentation attributes in SVG then we could talk about using
> CSS url tokens in SVG, otherwise you will have to stick to 'funcuri's.

OK.  I think it's worth us (SVG) considering changing to using CSS 
syntax inside presentation attributes.  I think the group is keen to 
reduce the number of differences, where we can.  (Unitless lengths and 
scientific notation of course being the ones presentation attributes 
will still need to support.)

A quick check with


shows in presentation attributes Gecko and WebKit both understanding a 
CSS escape, only WebKit understanding a CSS comment, and Opera 
understanding neither.
Received on Wednesday, 23 May 2012 03:24:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:59 UTC