W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2012

Re: [whatwg] The <pic> element

From: Julian Reschke <julian.reschke@gmx.de>
Date: Fri, 01 Jun 2012 21:01:47 +0200
Message-ID: <4FC9119B.1080508@gmx.de>
To: Kornel Lesiński <kornel@geekhood.net>
Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>, Anselm Hannemann Web Development <info@anselm-hannemann.com>
On 2012-06-01 20:24, Kornel Lesiński wrote:
> ...
>>> If there are commas or backslashes in the URL they must be escaped with `\`.
>> This is another problem why I would separate the diff. srces.
>> Escaping an URL is not something that should be necessary in HTML I think.
>
> I agree, it's ugly, but otherwise you get ambiguous syntax for entries without descriptor or media query.
>
> I thought about specifying some magic, like ignoring trailing comma in URL, but all such magical solutions have surprising edge cases. Explicit escaping is at least easy to comprehend.
> ...

An alternative is to pick different delimiters. See, for instance, 
<http://tools.ietf.org/html/rfc2295#section-8.3>.

Best regards, Julian
Received on Friday, 1 June 2012 19:02:23 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:42 UTC