mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Fix parent element of pseudo element for updating animation
This commit is contained in:
parent
e357ea44bb
commit
1e94663b26
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