If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

stylo: stop manually maintaining the dirty bits when styling new subtrees

RESOLVED FIXED

Status

()

Core
CSS Parsing and Computation
RESOLVED FIXED
a year ago
7 months ago

People

(Reporter: bholley, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

When styling new subtrees, we currently need to pre-traverse on the Gecko side and set the HAS_DIRTY_DESCENDANTS bit appropriately. We should just add a traversal mode on the servo side to ignore that bit and unconditionally traverse all children.
Also, we should allow Servo to optionally clear the dirty bits post-cascade, since we don't need them for style context fixups in the new subtree case.
Summary: stylo: stop manually maintaining the dirty descendants bit when styling new subtrees → stylo: stop manually maintaining the dirty bits when styling new subtrees
This happened.
Status: NEW → RESOLVED
Last Resolved: 7 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.