[Webkit-unassigned] [Bug 17423] ER: Add support for xml:base

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 9 10:28:02 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=17423





--- Comment #9 from Alex Milowski <alex at milowski.com>  2011-06-09 10:28:02 PST ---
(In reply to comment #8)
> Changing the base URL only causes a reresolution where the spec says it does. I don't explicitly list all the places where it doesn't, because there's so many of them, but if you look in the spec source you'll see comments here and there saying something like "note that this doesn't happen when the base URL changes", etc.

I did just notice the section on "Dynamic Changes to base URLs" [1] where there is a note about the 'img' element.  I think that specifies the complete behavior for the 'img' element.  

1. The base URI as calculated with respect to the xml:base must be used to resolve the value of the 'src' to get the URI of the image.

2. Changes to the base URI of the 'img' element do not cause the viewed image to be changed.  You would have to set the 'src' attribute (or something like that) to cause it to be resolved again.

3. The 'src' attribute in the interface should always return the correct resolved URI value against the base URI--including one changed after the image location is resolved and presented to the user.


[1] http://dev.w3.org/html5/spec/Overview.html#dynamic-changes-to-base-urls

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list