mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #16580 - hiikezoe:fix-pseudo-parent-for-animation, r=emilio
Fix parent element of pseudo element for updating animation r? @emilio <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16580) <!-- Reviewable:end -->
This commit is contained in:
commit
733820583e
1 changed files with 1 additions and 1 deletions
|
@ -683,7 +683,7 @@ impl<'le> TElement for GeckoElement<'le> {
|
|||
*HasArcFFI::arc_as_borrowed(v)
|
||||
);
|
||||
|
||||
let parent_element = if pseudo.is_some() {
|
||||
let parent_element = if pseudo.is_none() {
|
||||
self.parent_element()
|
||||
} else {
|
||||
Some(*self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue