mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
Remove the ComputedValue traits and style_struct_traits
This commit is contained in:
parent
b2a7e44373
commit
789807b7b0
60 changed files with 589 additions and 652 deletions
|
@ -5,7 +5,6 @@
|
|||
//! The pseudo-classes and pseudo-elements supported by the style system.
|
||||
|
||||
use element_state::ElementState;
|
||||
use properties;
|
||||
use selectors::Element;
|
||||
use selectors::parser::SelectorImpl;
|
||||
use std::fmt::Debug;
|
||||
|
@ -74,8 +73,6 @@ pub trait ElementExt: Element {
|
|||
// NB: The `Clone` trait is here for convenience due to:
|
||||
// https://github.com/rust-lang/rust/issues/26925
|
||||
pub trait SelectorImplExt : SelectorImpl + Clone + Debug + Sized + 'static {
|
||||
type ComputedValues: properties::ComputedValues;
|
||||
|
||||
fn pseudo_element_cascade_type(pseudo: &Self::PseudoElement) -> PseudoElementCascadeType;
|
||||
|
||||
fn each_pseudo_element<F>(mut fun: F)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue