mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Remove the get_ prefix from get_smil_override, and other animation stuff.
This commit is contained in:
parent
c5bfc81b74
commit
607cf5aa3c
4 changed files with 15 additions and 22 deletions
|
@ -766,7 +766,7 @@ pub trait MatchMethods : TElement {
|
|||
if replacements.contains(RestyleHint::RESTYLE_SMIL) {
|
||||
replace_rule_node(
|
||||
CascadeLevel::SMILOverride,
|
||||
self.get_smil_override(),
|
||||
self.smil_override(),
|
||||
primary_rules,
|
||||
);
|
||||
}
|
||||
|
@ -774,7 +774,7 @@ pub trait MatchMethods : TElement {
|
|||
if replacements.contains(RestyleHint::RESTYLE_CSS_TRANSITIONS) {
|
||||
replace_rule_node(
|
||||
CascadeLevel::Transitions,
|
||||
self.get_transition_rule().as_ref().map(|a| a.borrow_arc()),
|
||||
self.transition_rule().as_ref().map(|a| a.borrow_arc()),
|
||||
primary_rules,
|
||||
);
|
||||
}
|
||||
|
@ -782,7 +782,7 @@ pub trait MatchMethods : TElement {
|
|||
if replacements.contains(RestyleHint::RESTYLE_CSS_ANIMATIONS) {
|
||||
replace_rule_node(
|
||||
CascadeLevel::Animations,
|
||||
self.get_animation_rule().as_ref().map(|a| a.borrow_arc()),
|
||||
self.animation_rule().as_ref().map(|a| a.borrow_arc()),
|
||||
primary_rules,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue