stylo: Make important_rules_change in compute_style() more accurate

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
P4
normal
3 months ago
2 months ago

People

(Reporter: hiro, Unassigned)

Tracking

(Blocks: 2 bugs)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox57 affected)

Details

(Reporter)

Description

3 months ago
Currently we set important_rules_change to true in compute_style() [1] whenever we process 
MatchAndCascade. If we refine it, we can avoid needless SequentialTasks.

I noticed this fact when I run test_restyles.html on stylo.

[1] https://hg.mozilla.org/mozilla-central/file/1d042bcb2632/servo/components/style/traversal.rs#l669
Blocks: 1289864
Priority: -- → P4
You need to log in before you can comment on or make changes to this bug.