mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Propagate text decoration where needed
This commit is contained in:
parent
83fc9943d3
commit
17948f3b39
9 changed files with 75 additions and 40 deletions
|
@ -104,6 +104,7 @@ fn construct_for_root_element<'dom>(
|
|||
))],
|
||||
)
|
||||
} else {
|
||||
let propagated_text_decoration_line = style.clone_text_decoration_line();
|
||||
(
|
||||
ContainsFloats::No,
|
||||
vec![ArcRefCell::new(BlockLevelBox::Independent(
|
||||
|
@ -114,6 +115,7 @@ fn construct_for_root_element<'dom>(
|
|||
display_inside,
|
||||
contents,
|
||||
ContentSizesRequest::None,
|
||||
propagated_text_decoration_line,
|
||||
),
|
||||
))],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue