aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flow/root.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-12-05 12:10:45 +0100
committerGitHub <noreply@github.com>2023-12-05 11:10:45 +0000
commitf0b41623286a010cb021cd2debfa6b1be3b36b5d (patch)
tree1619398a57fefa84a985bdb88010373232d5ebf9 /components/layout_2020/flow/root.rs
parent63701b338cd807dc237be4f3f0771a1fff933f09 (diff)
downloadservo-f0b41623286a010cb021cd2debfa6b1be3b36b5d.tar.gz
servo-f0b41623286a010cb021cd2debfa6b1be3b36b5d.zip
Add initial support for table box tree construction (#30799)
This is the first part of constructing the box tree for table layout. No layout is actually done and the construction of tables is now hidden behind a flag (in order to not regress WPT). Notably, this does not handle anonymous table part construction, when the DOM does not reflect a fully-formed table. That's part two. Progress toward #27459. Co-authored-by: Oriol Brufau <obrufau@igalia.com> Co-authored-by: Manish Goregaokar <manishsmail@gmail.com>
Diffstat (limited to 'components/layout_2020/flow/root.rs')
-rw-r--r--components/layout_2020/flow/root.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_2020/flow/root.rs b/components/layout_2020/flow/root.rs
index 8cd0225ee15..6423aebc096 100644
--- a/components/layout_2020/flow/root.rs
+++ b/components/layout_2020/flow/root.rs
@@ -225,7 +225,7 @@ fn construct_for_root_element<'dom>(
unreachable!()
},
// The root element is blockified, ignore DisplayOutside
- Display::GeneratingBox(DisplayGeneratingBox::OutsideInside { inside, .. }) => inside,
+ Display::GeneratingBox(display_generating_box) => display_generating_box.display_inside(),
};
let contents =