mirror of
https://github.com/servo/servo.git
synced 2025-07-30 10:40:27 +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 @@
|
|||
use element_state::ElementState;
|
||||
use error_reporting::StdoutErrorReporter;
|
||||
use parser::ParserContextExtraData;
|
||||
use properties::ServoComputedValues;
|
||||
use selector_impl::{SelectorImplExt, ElementExt, PseudoElementCascadeType};
|
||||
use selectors::Element;
|
||||
use selectors::parser::{ParserContext, SelectorImpl};
|
||||
|
@ -154,8 +153,6 @@ impl SelectorImpl for ServoSelectorImpl {
|
|||
}
|
||||
|
||||
impl SelectorImplExt for ServoSelectorImpl {
|
||||
type ComputedValues = ServoComputedValues;
|
||||
|
||||
#[inline]
|
||||
fn pseudo_element_cascade_type(pseudo: &PseudoElement) -> PseudoElementCascadeType {
|
||||
pseudo.cascade_type()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue