mirror of
https://github.com/servo/servo.git
synced 2025-08-26 23:58:20 +01:00
Bug 1317209 - Part 3: Add TElement::get_animation_rule. r=heycam
We use TElement::get_animation_rule to get the animation rules from Gecko side, which contain the interpolated values of the specific element and the pseudo type.
This commit is contained in:
parent
1f1c67f485
commit
c09b204d5d
3 changed files with 18 additions and 0 deletions
|
@ -501,6 +501,11 @@ extern "C" {
|
|||
pub fn Gecko_GetServoDeclarationBlock(element: RawGeckoElementBorrowed)
|
||||
-> RawServoDeclarationBlockStrongBorrowedOrNull;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetAnimationRule(element: RawGeckoElementBorrowed,
|
||||
aAtom: *mut nsIAtom)
|
||||
-> RawServoDeclarationBlockStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_Atomize(aString: *const ::std::os::raw::c_char, aLength: u32)
|
||||
-> *mut nsIAtom;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue