aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flow/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/flow/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/flow/construct.rs')
-rw-r--r--components/layout_2020/flow/construct.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/layout_2020/flow/construct.rs b/components/layout_2020/flow/construct.rs
index e2ef5c2aa52..9fb5cb2509b 100644
--- a/components/layout_2020/flow/construct.rs
+++ b/components/layout_2020/flow/construct.rs
@@ -273,6 +273,9 @@ where
}
},
},
+ DisplayGeneratingBox::LayoutInternal(_) => {
+ unreachable!("The result of blockification should never be layout-internal value.");
+ },
}
}