stylo: Make important_rules_change in compute_style() more accurate

NEW
Unassigned

Status

()

P4
normal
2 years ago
a year ago

People

(Reporter: hiro, Unassigned)

Tracking

(Blocks: 2 bugs)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox57 wontfix)

Details

(Reporter)

Description

2 years 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
status-firefox57=wontfix unless someone thinks this bug should block 57
status-firefox57: affected → wontfix
You need to log in before you can comment on or make changes to this bug.