aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/gecko/pseudo_element.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/gecko/pseudo_element.rs')
-rw-r--r--components/style/gecko/pseudo_element.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/style/gecko/pseudo_element.rs b/components/style/gecko/pseudo_element.rs
index a08da8d40f1..70b0e112cee 100644
--- a/components/style/gecko/pseudo_element.rs
+++ b/components/style/gecko/pseudo_element.rs
@@ -14,6 +14,7 @@ use properties::{ComputedValues, PropertyFlags};
use properties::longhands::display::computed_value::T as Display;
use selector_parser::{NonTSPseudoClass, PseudoElementCascadeType, SelectorImpl};
use std::fmt;
+use str::{starts_with_ignore_ascii_case, string_as_ascii_lowercase};
use string_cache::Atom;
use thin_slice::ThinBoxedSlice;
use values::serialize_atom_identifier;
@@ -61,7 +62,9 @@ impl PseudoElement {
///
/// This is used in Servo for anonymous boxes, though it's likely broken.
#[inline]
- pub fn inherits_all(&self) -> bool { false }
+ pub fn inherits_all(&self) -> bool {
+ false
+ }
/// Whether the pseudo-element should inherit from the default computed
/// values instead of from the parent element.