Closed
Bug 1637712
Opened 5 years ago
Closed 4 years ago
Consider to move *Ancestor* API to nsINode
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla78
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: smaug, Assigned: smaug)
Details
Attachments
(1 file)
https://searchfox.org/mozilla-central/source/dom/base/AncestorIterator.h
hides the iterators quite well by being outside nsINode.
And the APIs are really about ancestors of a node so node->AncestorsOfType<T>() should be quite reasonable.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Severity: -- → N/A
Priority: -- → P3
Comment 3•5 years ago
|
||
SGTM, for what is worth :)
Updated•4 years ago
|
Assignee: nobody → bugs
Status: NEW → ASSIGNED
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2c5eea627917
Consider to move *Ancestor* API to nsINode r=emilio
Comment 5•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in
before you can comment on or make changes to this bug.
Description
•