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

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 23 May 2012 03:43:55 +0200
To: Cameron McCormack <cam@mcc.id.au>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <mpfor7dm9npk2j6p76fneae478svkplfaj@hive.bjoern.hoehrmann.de>
* Cameron McCormack wrote:
>Does CSS allow IRIs to be used inside url() values?
>
>data:text/html;charset=utf-8;base64,PCFkb2N0eXBlIGh0bWw%2BPGJvZHkgc3R5bGU9ImJhY2tncm91bmQtaW1hZ2U6IHVybChodHRwOi8vcsOka3Ntw7ZyZ8Olcy5qb3NlZnNzb24ub3JnL3Jha3Ntb3JnYXMuanBnIj4%3D
>
>seems to work in various browsers.

http://www.websitedev.de/temp/rfc3986-check.html.gz tells me the string
above is a URI, so you are asking whether you can use URLs inside url().

>zcorpan pointed out to me that 
>css3-syntax should parse the entire url(...iri...) into a URI token, but 
>I don't see anything in http://dev.w3.org/csswg/css3-values/#urls that 
>says how to interpret the bit of the token between the parens and the 
>optional quotes (i.e. as a URI, an IRI, or something else).

If I understand you correctly, you are saying that the specification
does not adequately explain that url("http://example.org/") refers to 
<http://example.org/>.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Wednesday, 23 May 2012 01:44:41 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT