Skip to content

Commit

Permalink
Auto merge of #16580 - hiikezoe:fix-pseudo-parent-for-animation, r=em…
Browse files Browse the repository at this point in the history
…ilio

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 -->
  • Loading branch information
bors-servo committed Apr 24, 2017
2 parents e357ea4 + 1e94663 commit 7338205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/style/gecko/wrapper.rs
Expand Up @@ -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)
Expand Down

0 comments on commit 7338205

Please sign in to comment.