diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-05-23 14:49:41 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-05-23 14:50:27 +0200 |
commit | ec6d7e855d71d76543a11f7203933096040393b6 (patch) | |
tree | fb1128398041af8243024a232fbded33182db59a /components | |
parent | e24d96cdd04fb40c0681a6ba46476ba04607f573 (diff) | |
download | servo-ec6d7e855d71d76543a11f7203933096040393b6.tar.gz servo-ec6d7e855d71d76543a11f7203933096040393b6.zip |
stylo: Fixup an embarrassing typo that has turned everything orange.
Diffstat (limited to 'components')
-rw-r--r-- | components/style/gecko/pseudo_element.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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. |