Implement fixed table layout geometry

This commit is contained in:
SGavrl committed 2026-08-04 08:41:42 +00:00
1 parent 039a9b2ee3
commit 84968aef06
5 files changed
+447 -6

No files matched your search

+4
View File
@@ -800,6 +800,10 @@ pub struct LayoutStyle {
/// features such as container-query axis availability that depend on the
/// computed display rather than our internal layout approximation.
pub(crate) is_table_box: bool,
/// The computed `table-layout: fixed` value. The fixed algorithm is only
/// activated when the table also has a definite inline size; otherwise
/// CSS requires the automatic table layout algorithm.
pub(crate) table_layout_fixed: bool,
/// The computed inner display is `table-cell`.
///
/// Authored internal table boxes need the same cell sizing path as native