stylo: Fixup an embarrassing typo that has turned everything orange.

This commit is contained in:
Emilio Cobos Álvarez 2017-05-23 14:49:41 +02:00
parent e24d96cdd0
commit ec6d7e855d
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -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.