mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +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
|
@ -13,7 +13,7 @@ use cssparser::{AtRuleParser, DeclarationListParser, DeclarationParser, Parser,
|
|||
use euclid::scale_factor::ScaleFactor;
|
||||
use euclid::size::{Size2D, TypedSize2D};
|
||||
use parser::{ParserContext, log_css_error};
|
||||
use properties::{ComputedValues, ServoComputedValues};
|
||||
use properties::ComputedValuesStruct;
|
||||
use std::ascii::AsciiExt;
|
||||
use std::fmt;
|
||||
use std::iter::Enumerate;
|
||||
|
@ -646,8 +646,8 @@ impl MaybeNew for ViewportConstraints {
|
|||
let context = Context {
|
||||
is_root_element: false,
|
||||
viewport_size: initial_viewport,
|
||||
inherited_style: ServoComputedValues::initial_values(),
|
||||
style: ServoComputedValues::initial_values().clone(),
|
||||
inherited_style: ComputedValuesStruct::initial_values(),
|
||||
style: ComputedValuesStruct::initial_values().clone(),
|
||||
};
|
||||
|
||||
// DEVICE-ADAPT § 9.3 Resolving 'extend-to-zoom'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue