mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Add SMIL override cascade level
This commit is contained in:
parent
18c72ac28d
commit
97ce9ed5b0
4 changed files with 49 additions and 14 deletions
|
@ -319,6 +319,11 @@ pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone +
|
|||
/// Get this element's style attribute.
|
||||
fn style_attribute(&self) -> Option<&Arc<Locked<PropertyDeclarationBlock>>>;
|
||||
|
||||
/// Get this element's SMIL override declarations.
|
||||
fn get_smil_override(&self) -> Option<&Arc<Locked<PropertyDeclarationBlock>>> {
|
||||
None
|
||||
}
|
||||
|
||||
/// Get this element's animation rules.
|
||||
fn get_animation_rules(&self, _pseudo: Option<&PseudoElement>) -> AnimationRules {
|
||||
AnimationRules(None, None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue