Open Bug 515819 Opened 15 years ago Updated 8 months ago

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

Categories

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

defect

Tracking

()

People

(Reporter: justin.lebar+bug, Unassigned)

References

(Depends on 1 open bug)

Details

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.
Depends on: html5-parsing
Marking dependent on bug 483780 which depends on migrating the XML side to use the nsHtml5TreeOpExecutor mechanism.
Depends on: 483780
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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.