Open Bug 515819 Opened 11 years ago Updated 2 years ago

nsHTMLSharedElement should use NS_GetContentList to get the list of <base> tags


(Core :: DOM: Core & HTML, defect, P5)





(Reporter: justin.lebar+bug, Unassigned)


(Depends on 1 open bug)


My patch for bug 209275 needs to find the first <base> tag with an href during nsHTMLSharedElement::UnbindFromTree.  Right now, it manually walks the DOM to find it.  I'd like to use NS_GetContentList, but I can't, because that flushes content notifications, and when I call it from UnbindFromTree, I don't find the nodes I'm looking for.

Once we land the HTML5 parser and get rid of content notifications, we should clean this code up.
Marking dependent on bug 483780 which depends on migrating the XML side to use the nsHtml5TreeOpExecutor mechanism.
Depends on: 483780

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
You need to log in before you can comment on or make changes to this bug.