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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 9 04:18:01 PDT 2011


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


Alex Milowski <alex at milowski.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alex at milowski.com




--- Comment #7 from Alex Milowski <alex at milowski.com>  2011-06-09 04:18:01 PST ---
Looking at the HTML 5 specification [1], the 'src' attribute should be resolved against the element's base URI.  As the xml:base attribute correctly affects the baseURI property in the DOM, this should be straight forward to fix (but those are famous last words).

One thing that isn't clear in the HTML5 specification is whether changing the xml:base attribute should cause the image URI to be recalculated.  There is a whole section of how the state of the image element changes when the 'src' attribute is set.  It doesn't say much about how the state is handle if the base URI changes via setting the xml:base attribute.  It think it should be the same as if the 'src' attribute is set but I'll have to file a bug on the HTML5 specification to get that clarified.

[1] http://dev.w3.org/html5/spec/Overview.html#resolving-urls
[2] http://dev.w3.org/html5/spec/Overview.html#the-img-element

-- 
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