mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +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
|
@ -1060,7 +1060,7 @@ impl<'le> TElement for GeckoElement<'le> {
|
|||
unsafe { Gecko_UnsetDirtyStyleAttr(self.0) };
|
||||
}
|
||||
|
||||
fn get_smil_override(&self) -> Option<ArcBorrow<Locked<PropertyDeclarationBlock>>> {
|
||||
fn smil_override(&self) -> Option<ArcBorrow<Locked<PropertyDeclarationBlock>>> {
|
||||
unsafe {
|
||||
let slots = self.get_extended_slots()?;
|
||||
|
||||
|
@ -1084,15 +1084,11 @@ impl<'le> TElement for GeckoElement<'le> {
|
|||
}
|
||||
}
|
||||
|
||||
fn get_animation_rule(
|
||||
&self,
|
||||
) -> Option<Arc<Locked<PropertyDeclarationBlock>>> {
|
||||
fn animation_rule(&self) -> Option<Arc<Locked<PropertyDeclarationBlock>>> {
|
||||
get_animation_rule(self, CascadeLevel::Animations)
|
||||
}
|
||||
|
||||
fn get_transition_rule(
|
||||
&self,
|
||||
) -> Option<Arc<Locked<PropertyDeclarationBlock>>> {
|
||||
fn transition_rule(&self) -> Option<Arc<Locked<PropertyDeclarationBlock>>> {
|
||||
get_animation_rule(self, CascadeLevel::Transitions)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue