mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Remove unused function.
This commit is contained in:
parent
17257f94b9
commit
d016278159
1 changed files with 0 additions and 8 deletions
|
@ -1832,14 +1832,6 @@ impl PropertyDeclaration {
|
|||
}
|
||||
}
|
||||
|
||||
/// The shorthands that this longhand is part of.
|
||||
pub fn shorthands(&self) -> &'static [ShorthandId] {
|
||||
match self.id() {
|
||||
PropertyDeclarationId::Longhand(id) => id.shorthands(),
|
||||
PropertyDeclarationId::Custom(..) => &[],
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns true if this property declaration is for one of the animatable
|
||||
/// properties.
|
||||
pub fn is_animatable(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue