If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

NEW
Unassigned

Status

()

Core
DOM: Core & HTML
8 years ago
8 years ago

People

(Reporter: Justin Lebar (not reading bugmail), Unassigned)

Tracking

(Depends on: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
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: 373864
Marking dependent on bug 483780 which depends on migrating the XML side to use the nsHtml5TreeOpExecutor mechanism.
Depends on: 483780
You need to log in before you can comment on or make changes to this bug.