Open Bug 1334756 Opened 7 years ago Updated 2 years ago

stylo: make Gecko_GetNextStyleChild return only elements

Categories

(Core :: CSS Parsing and Computation, defect, P4)

defect

Tracking

()

Tracking Status
firefox57 --- wontfix

People

(Reporter: bholley, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [easy])

The servo code will just end up filtering non-Elements out, and doing a bunch of FFI traffic in the process.

The basic semantics we need are:
* For Gecko, only traverse elements
* For Servo, traverse elements and text nodes

The current servo-side traversal code is overly-general, and implements this with nested iterators. We should just specialize the iterators to do the right thing.
Priority: -- → P4
status-firefox57=wontfix unless someone thinks this bug should block 57
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.