patch: resolve DOM src and href attributes against base

Maciej Stachowiak mjs at apple.com
Thu Oct 30 08:48:35 CET 2003


On Oct 30, 2003, at 6:02 AM, Dirk Mueller wrote:

> On Tuesday 28 October 2003 20:17, Maciej Stachowiak wrote:
>
>> This matches what other browsers do and my reading of the spec.
>
> why did you remove the special-casing of <img src> ?

Retrieving the src attribute of <img src=""> from JavaScript returns 
the base document URL from the src attribute in other browsers. I just 
tested and <img src> does the same, at least in Mozilla.

> its not as if we added that code just for fun..

Well I didn't take it out just for fun - I tested. Why did you add it?

Regards,
Maciej



More information about the Khtml-devel mailing list