Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-06-06 17:11:32 +02:00
parent 8bb7d98f0c
commit 5c0f044d39
4 changed files with 26 additions and 4 deletions

View file

@ -513,12 +513,14 @@ trait PrivateMatchMethods: TElement {
Self::replace_single_rule_node(
&context.shared,
CascadeLevel::Transitions,
LayerOrder::root(),
declarations.transitions.as_ref().map(|a| a.borrow_arc()),
&mut rule_node,
);
Self::replace_single_rule_node(
&context.shared,
CascadeLevel::Animations,
LayerOrder::root(),
declarations.animations.as_ref().map(|a| a.borrow_arc()),
&mut rule_node,
);