mirror of
https://github.com/servo/servo.git
synced 2025-07-29 02:00:23 +01:00
style: Remove unused SelectorImpl::pseudo_element_cascade_type.
This commit is contained in:
parent
051a715721
commit
c93b844125
2 changed files with 1 additions and 13 deletions
|
@ -9,7 +9,7 @@ use element_state::{DocumentState, ElementState};
|
|||
use gecko_bindings::structs::CSSPseudoClassType;
|
||||
use gecko_bindings::structs::RawServoSelectorList;
|
||||
use gecko_bindings::sugar::ownership::{HasBoxFFI, HasFFI, HasSimpleFFI};
|
||||
use selector_parser::{Direction, SelectorParser, PseudoElementCascadeType};
|
||||
use selector_parser::{Direction, SelectorParser};
|
||||
use selectors::SelectorList;
|
||||
use selectors::parser::{Selector, SelectorMethods, SelectorParseErrorKind};
|
||||
use selectors::visitor::SelectorVisitor;
|
||||
|
@ -477,12 +477,6 @@ impl<'a, 'i> ::selectors::Parser<'i> for SelectorParser<'a> {
|
|||
}
|
||||
|
||||
impl SelectorImpl {
|
||||
#[inline]
|
||||
/// Legacy alias for PseudoElement::cascade_type.
|
||||
pub fn pseudo_element_cascade_type(pseudo: &PseudoElement) -> PseudoElementCascadeType {
|
||||
pseudo.cascade_type()
|
||||
}
|
||||
|
||||
/// A helper to traverse each eagerly cascaded pseudo-element, executing
|
||||
/// `fun` on it.
|
||||
#[inline]
|
||||
|
|
|
@ -547,12 +547,6 @@ impl<'a, 'i> ::selectors::Parser<'i> for SelectorParser<'a> {
|
|||
}
|
||||
|
||||
impl SelectorImpl {
|
||||
/// Returns the pseudo-element cascade type of the given `pseudo`.
|
||||
#[inline]
|
||||
pub fn pseudo_element_cascade_type(pseudo: &PseudoElement) -> PseudoElementCascadeType {
|
||||
pseudo.cascade_type()
|
||||
}
|
||||
|
||||
/// A helper to traverse each eagerly cascaded pseudo-element, executing
|
||||
/// `fun` on it.
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue