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

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

   http://people.mozilla.org/~cmccormack/tests/pres-attr-syntax.svg

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