diff --git a/components/style/rule_tree/mod.rs b/components/style/rule_tree/mod.rs index fdd563d23721..a2caba6f9f7a 100644 --- a/components/style/rule_tree/mod.rs +++ b/components/style/rule_tree/mod.rs @@ -453,6 +453,7 @@ impl RuleTree { StyleSource::from_declarations(pdb.clone_arc()), level, ); + *important_rules_changed = true; } } else { if pdb.read_with(level.guard(guards)).any_normal() {