mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Bug 1343753 - Pass None before change style to Gecko_UpdateAnimations.
CSS Transition is not supported yet, so use None as the parameter. MozReview-Commit-ID: Kv77lN92ny5
This commit is contained in:
parent
28db6788b1
commit
9a3905f834
2 changed files with 3 additions and 0 deletions
|
@ -678,6 +678,7 @@ impl<'le> TElement for GeckoElement<'le> {
|
||||||
let atom_ptr = PseudoElement::ns_atom_or_null_from_opt(pseudo);
|
let atom_ptr = PseudoElement::ns_atom_or_null_from_opt(pseudo);
|
||||||
unsafe {
|
unsafe {
|
||||||
Gecko_UpdateAnimations(self.0, atom_ptr,
|
Gecko_UpdateAnimations(self.0, atom_ptr,
|
||||||
|
None,
|
||||||
computed_values_opt,
|
computed_values_opt,
|
||||||
parent_values_opt,
|
parent_values_opt,
|
||||||
tasks.bits());
|
tasks.bits());
|
||||||
|
|
|
@ -630,6 +630,8 @@ extern "C" {
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_UpdateAnimations(aElement: RawGeckoElementBorrowed,
|
pub fn Gecko_UpdateAnimations(aElement: RawGeckoElementBorrowed,
|
||||||
aPseudoTagOrNull: *mut nsIAtom,
|
aPseudoTagOrNull: *mut nsIAtom,
|
||||||
|
aOldComputedValues:
|
||||||
|
ServoComputedValuesBorrowedOrNull,
|
||||||
aComputedValues:
|
aComputedValues:
|
||||||
ServoComputedValuesBorrowedOrNull,
|
ServoComputedValuesBorrowedOrNull,
|
||||||
aParentComputedValues:
|
aParentComputedValues:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue