Closed Bug 1296065 Opened 8 years ago Closed 8 years ago

stylo: Consider specializing StyleChildrenIterator to avoid unneeded iteration of ::before and ::after

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bholley, Unassigned)

References

(Blocks 1 open bug)

Details

See bug 1292662 comment 13.

Right now we share code at the expense of doing some unneeded work during traversal. If StyleChildrenIterator turns out to be hot, this would be an avenue for making it more efficient.
Given the new strategy we're taking in bug 1331047, I think the current plan is to remove the special restyle handling for ::before and ::after and let the StyleChildrenIterator handle them like any other piece of NAC. Given that, I think this is probably WONTIX.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
No longer blocks: 1332915
You need to log in before you can comment on or make changes to this bug.