Note: There are a few cases of duplicates in user autocompletion which are being worked on.

stylo: checking important rule change seems to be broken

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
P2
normal
2 months ago
a month ago

People

(Reporter: hiro, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 months ago
In replace_rule_nodes, if update_rule_at_level() returns Some(), we consider that important rules were changed inside the function, but update_rule_at_level() returns even when no important rule changed [1].  We should only see the result inside .any_important() 'if' block.

[1] https://hg.mozilla.org/mozilla-central/file/5d6fe59a9a5d/servo/components/style/rule_tree/mod.rs#l329
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.