[whatwg] The <pic> element
Julian Reschke
julian.reschke at gmx.de
Fri Jun 1 12:01:47 PDT 2012
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
More information about the whatwg
mailing list