diff --git a/src/components/script/style/selector_matching.rs b/src/components/script/style/selector_matching.rs index f365bdc894a..5d5296ee264 100644 --- a/src/components/script/style/selector_matching.rs +++ b/src/components/script/style/selector_matching.rs @@ -67,6 +67,7 @@ impl Stylist { append!(important, has_important_declarations); } + // These sorts need to be stable if has_normal_declarations { tim_sort(rules.normal) }