Skip to content

Commit

Permalink
Auto merge of #17005 - emilio:backdrop-fixup, r=emilio
Browse files Browse the repository at this point in the history
stylo: Fixup an embarrassing typo that has turned everything orange.

I messed up when turning the conditions the other way around in #16981.

<!-- 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/17005)
<!-- Reviewable:end -->
  • Loading branch information
bors-servo committed May 23, 2017
2 parents 84c1f90 + ec6d7e8 commit 6d4e973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/style/gecko/pseudo_element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl PseudoElement {
/// This is not the common thing, but there are some pseudos (namely:
/// ::backdrop), that shouldn't inherit from the parent element.
pub fn inherits_from_default_values(&self) -> bool {
!matches!(*self, PseudoElement::Backdrop)
matches!(*self, PseudoElement::Backdrop)
}

/// Gets the canonical index of this eagerly-cascaded pseudo-element.
Expand Down

0 comments on commit 6d4e973

Please sign in to comment.