mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Rewrite handling of pointers to boxes in the DOM tree
This commit is contained in:
parent
c43ab0c267
commit
3e8623332b
3 changed files with 33 additions and 73 deletions
|
@ -88,7 +88,7 @@ fn construct_for_root_element<'dom>(
|
|||
|
||||
let display_inside = match Display::from(box_style.display) {
|
||||
Display::None => {
|
||||
root_element.unset_boxes_in_subtree();
|
||||
root_element.unset_all_boxes();
|
||||
return (ContainsFloats::No, Vec::new());
|
||||
},
|
||||
Display::Contents => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue