aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flexbox/construct.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/flexbox/construct.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/flexbox/construct.rs')
-rw-r--r--components/layout_2020/flexbox/construct.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/layout_2020/flexbox/construct.rs b/components/layout_2020/flexbox/construct.rs
index cc2abc6630c..04f8f0746b4 100644
--- a/components/layout_2020/flexbox/construct.rs
+++ b/components/layout_2020/flexbox/construct.rs
@@ -165,6 +165,7 @@ where
} => {
let display_inside = match display {
DisplayGeneratingBox::OutsideInside { inside, .. } => inside,
+ DisplayGeneratingBox::LayoutInternal(_) => display.display_inside(),
};
let box_ = if info.style.get_box().position.is_absolutely_positioned() {
// https://drafts.csswg.org/css-flexbox/#abspos-items