Closed Bug 1075247 Opened 5 years ago Closed 5 years ago

Add support for iterating FlattenedChildIterator from the end

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: mats, Assigned: mats)

References

Details

Attachments

(1 file)

FlattenedChildIterator is a sub-class of ExplicitChildIterator which has
a "bool aStartAtBeginning = true" ctor param.

I need a FlattenedChildIterator ctor with the same param that propagates it
to the super-class (for bug 907396).

(AllChildrenIterator is a sub-class of FlattenedChildIterator and I think
we should also expose the same option there)

Patch coming up...
Attached patch fixSplinter Review
Attachment #8498087 - Flags: review?(bzbarsky)
Comment on attachment 8498087 [details] [diff] [review]
fix

r=me
Attachment #8498087 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/f1fd436a75a1
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.