[whatwg] Inconsistent behavior for empty-string URLs

On Thu, 2010-03-11 at 17:53 +0100, Simon Pieters wrote:

> On Tue, 09 Mar 2010 01:40:31 +0100, Ian Hickson <ian at hixie.ch> wrote:
> 
> > On Fri, 18 Dec 2009, Simon Pieters wrote:
> >>
> >> I've now looked at a selection of random URLs.
> >>
> >> Conclusion: None of these seem to need a request to be made. img should
> >> fire an error event. iframe and frame should use about:blank.
> 
> Did you miss the part about the error event for <img src>? I don't see  
> anything in the spec that says error should be fired for that case.
> 


I would assume that the error is the same as that of a broken URL. A
valid image file cannot be found (as the URL is zero-length) so it
cannot display it.

Thanks,
Ash
http://www.ashleysheridan.co.uk


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100311/c2e62521/attachment.htm>

Received on Thursday, 11 March 2010 08:56:50 UTC