[Bug 9354] Leading/trailing whitespace in attributes that take a URL should be conforming

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9354





--- Comment #2 from Maciej Stachowiak <mjs@apple.com>  2010-03-31 20:23:46 ---
(In reply to comment #1)
> (a)  It is possible that multiple URLs would be allowed in the future.

If there are attributes where that is the case, and where allowing leading or
trailing whitespace would conflict with that eventual goal, then it would be
reasonable to exempt them from this request.

I do not expect <img src> or <a href> will ever be converted to take a
space-separated list of URLs. For one thing, it would be incompatible with the
way UAs process spaces in the middle of a URL currently.

> (b)  I wouldn't count on the results being as expected; sometimes the spaces
> are converted to %20, and I wouldn't count on these being safely stripped at
> the end.  (At the beginning, maybe.)

Are there any UAs or HTML content processors in which this actually happens for
leading or trailing whitespace in an href or src attribute? If so, that would
be a reasonable basis to reject this request.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 31 March 2010 20:23:48 UTC