mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #17005 - emilio:backdrop-fixup, r=emilio
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 -->
This commit is contained in:
commit
5e58c52272
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue