> The reason for the data:image (a 1x1 clear pix) at the src and not just
> src="" or no src are to prevent some older browsers to do a "buggy"
> request against "/" (the html document). It could be replaced with a
> pix.gif or something.

This is a bit tangential, but I ran into that last week.  I actually
don't think it's a bug (but I could be misunderstanding), based on the
spec.

IMG SRC refers to A HREF in terms of what content it accepts (also
states that it takes a URI).

A HREF refers to URI in terms of what content it accepts.

URI states that an empty URI reference refers to the start of the
current document (look at http://www.ietf.org/rfc/rfc2396.txt under
Section 4.2 "Same-document references").

So if I'm reading correctly, that's actually the "by design"
behavior!  Fortunately(or unfortunately, depending on your
perspective) I think Safari is the only modern browser that follows
it.

Thought that was interesting. :)

Adam

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to