mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
stylo: Fixup an embarrassing typo that has turned everything orange.
This commit is contained in:
parent
e24d96cdd0
commit
ec6d7e855d
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:
|
/// This is not the common thing, but there are some pseudos (namely:
|
||||||
/// ::backdrop), that shouldn't inherit from the parent element.
|
/// ::backdrop), that shouldn't inherit from the parent element.
|
||||||
pub fn inherits_from_default_values(&self) -> bool {
|
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.
|
/// Gets the canonical index of this eagerly-cascaded pseudo-element.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue