Closed
Bug 303478
Opened 19 years ago
Closed 5 years ago
handle dynamic changes to xml:base?
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: dbaron, Assigned: jkt)
References
Details
(Keywords: helpwanted)
In bug 78510 roc started adding some code to handle dynamic changes of xml:base, but I didn't think the approach he was following was right, and it only half-fixed one case. It seems like what we probably want to do to handle dynamic changes of xml:base is call UnbindFromTree and then BindToTree, since these methods already have to handle switching between different base URIs. I'm not sure if that would have any unintended side-effects, though. (Am I missing existing code that handles this? I haven't written any testcases, but I wanted to get this filed before forgetting about it.)
Comment 1•19 years ago
|
||
So if I have something like: <div> <img src="foo"> </div> And I change the xml:base on the div we want the image being shown to update, right? I assume that's what this bug is about... If so, then unbind/bind will work, but will reload all documents in subframes (due to a bug I can't find right now).
Keywords: helpwanted
Updated•15 years ago
|
Assignee: general → nobody
QA Contact: ian → general
Comment 2•12 years ago
|
||
Note that the HTML spec wouldn't update the image in that case. In fact, the HTML spec is designed to make base URL changes have a very minimal impact on browsers; basically the only thing that they do is cause any URLs being shown to the user (e.g. the status bar when you're over a hyperlink) change: http://www.whatwg.org/specs/web-apps/current-work/#dynamic-changes-to-base-urls
Comment 3•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Comment 4•5 years ago
|
||
Marking WONTFIX as Bug 903372 removed support for xml:base. Even if it is reopened, I don't think we intent to continue support for this feature.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → jkt
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•