mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Rename cascade_with_replacements to replace_rules.
That's because the function does not invoke cascade() at all.
This commit is contained in:
parent
ca3cd64d6b
commit
c316594bd3
2 changed files with 6 additions and 6 deletions
|
@ -711,7 +711,7 @@ fn compute_style<E, D>(_traversal: &D,
|
|||
}
|
||||
CascadeWithReplacements(hint) => {
|
||||
let _rule_nodes_changed =
|
||||
element.cascade_with_replacements(hint, context, &mut data);
|
||||
element.replace_rules(hint, context, &mut data);
|
||||
element.cascade_primary_and_pseudos(context, &mut data);
|
||||
}
|
||||
CascadeOnly => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue