Open Bug 1388560 Opened 7 years ago Updated 2 years ago

stylo: Make important_rules_change in compute_style() more accurate

Categories

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

enhancement

Tracking

()

Tracking Status
firefox57 --- wontfix

People

(Reporter: hiro, Unassigned)

References

(Blocks 2 open bugs)

Details

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: stylo-perf
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.