Remove the ComputedValue traits and style_struct_traits

This commit is contained in:
Simon Sapin 2016-07-19 20:29:22 +02:00
parent b2a7e44373
commit 789807b7b0
60 changed files with 589 additions and 652 deletions

View file

@ -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)