Closed Bug 1297249 Opened 8 years ago Closed 7 years ago

stylo: Come up with coherent story for appending new content to a subtree whose parent has no servo style data

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bholley, Unassigned)

References

Details

This can happen if an ancestor is display: none, and we need to handle it otherwise servo traversal panics (since we can't cascade without a parent). We should find a way to assert that display:none is the only case where this happens, or investigate what the other cases are.

I've added some hacky code in the ContentAppended/ContentInserted handlers to check for this and bail out, but I'd like to investigate it further. Grep for this bug number to find the offending code.
This is now fixed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.