Re: [whatwg] The <pic> element

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