From ec6d7e855d71d76543a11f7203933096040393b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Tue, 23 May 2017 14:49:41 +0200 Subject: [PATCH] stylo: Fixup an embarrassing typo that has turned everything orange. --- components/style/gecko/pseudo_element.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/gecko/pseudo_element.rs b/components/style/gecko/pseudo_element.rs index 93da2b589d0..a501198f28e 100644 --- a/components/style/gecko/pseudo_element.rs +++ b/components/style/gecko/pseudo_element.rs @@ -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.