W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2009

[whatwg] Inconsistent behavior for empty-string URLs

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 8 Dec 2009 09:26:22 -0800
Message-ID: <63df84f0912080926l67307eafy84a4ffec2d7a47fa@mail.gmail.com>
On Tue, Dec 8, 2009 at 1:26 AM, Simon Pieters <simonp at opera.com> wrote:
> On Mon, 07 Dec 2009 22:52:41 +0100, Aryeh Gregor <Simetrical+w3c at gmail.com>
> wrote:
>> I don't know why <img src=""> has a special exception. ?It would be
>> possible to look through the svn log to see if there was a helpful
>> commit message, or maybe someone will remember.
> I seem to remember someone from Mozilla mentioned that they recently changed
> the behavior for img, so Hixie changed the spec for img.

It turns out that <img src=""> is decently common on the web, and in
all cases we saw did *not* intend its literal interpretation (i.e.
display an image using the current baseuri).

So it was deemed as a worth while performance improvement to add code
to suppress the network fetch. For further details see:


/ Jonas
Received on Tuesday, 8 December 2009 09:26:22 UTC

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