[Bug 12924] xml:base interaction with img element

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

--- Comment #2 from Alex Milowski <alex@milowski.org> 2011-06-09 12:35:21 UTC ---
(In reply to comment #1)
> I think it's quite clear that the image should not be reloaded, but if you set
> a new src attribute after that it will be resolved against the new base. The
> same kind of thing applies to <base href="foo">.

That is certainly the specified behavior for the 'img' element but I don't
think that it is clear that it is an explicit choice.   A simple non-normative
statement, possibly in the resolving URI section, that says something like:

"Once a URI value is resolved, further changes to the base URI caused by
setting or changing xml:base attributes will not affect the resolved value. 
Other actions may be required to cause the URI to be resolved against the
changed base URI."

would be helpful if that is the intended outcome.

If we expect the base URI to have a more dynamic behavior, the specification is
underspecified.

-- 
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 Thursday, 9 June 2011 12:35:23 UTC