mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
parent
7bede60272
commit
2f7ed1d73e
69 changed files with 33 additions and 98 deletions
|
@ -1368,7 +1368,7 @@ pub fn cascade<C: ComputedValues>(
|
|||
cached_style: Option<<&C>,
|
||||
mut error_reporter: StdBox<ParseErrorReporter + Send>)
|
||||
-> (C, bool) {
|
||||
use properties::style_struct_traits::{Border, Box, Color, Font, Outline};
|
||||
use properties::style_struct_traits::{Border, Box, Font, Outline};
|
||||
let initial_values = C::initial_values();
|
||||
let (is_root_element, inherited_style) = match parent_style {
|
||||
Some(parent_style) => (false, parent_style),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue