mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
Add an FFI to check that a given (pseudo-) element has any type of animations or not.
If an element has any type of animations in match_elements(), we need to call UpdateEffectProperties() to update KeyframeEffectReadOnly::mProperties.
This commit is contained in:
parent
4aae0e29d6
commit
0c843d4b7d
4 changed files with 19 additions and 0 deletions
|
@ -612,6 +612,10 @@ extern "C" {
|
|||
aParentComputedValues:
|
||||
ServoComputedValuesBorrowedOrNull);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ElementHasAnimations(aElement: RawGeckoElementBorrowed,
|
||||
aPseudoTagOrNull: *mut nsIAtom) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ElementHasCSSAnimations(aElement: RawGeckoElementBorrowed,
|
||||
aPseudoTagOrNull: *mut nsIAtom)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue