Open Bug 1388560 Opened 9 years ago Updated 5 months 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

The new link from searchfox: https://searchfox.org/firefox-main/rev/7c07e6f277dd6d5122183d6feecb7473277ab5bb/servo/components/style/traversal.rs#543

It seems this is the last bug of the meta bug (stylo-css-animations).

You need to log in before you can comment on or make changes to this bug.