ladybird/Tests/LibWeb/Layout/expected/table
Andreas Kling 0e438c01d8 LibWeb: Compute CAPMIN from caption outer widths
Fixing float-related intrinsic width bookkeeping exposed that table
captions only contributed their raw min-content width to CAPMIN.
That ignored caption padding, borders, margins, and definite widths,
so captions could be laid out too narrow and wrap content that should
stay beside floats.

Compute each caption's min-content contribution as an outer width and
clamp it against the preferred outer width when the caption has a
definite width. Add a test for a fixed-width caption with a float and
rebaseline the existing padded-caption layout test.
2026-03-29 12:05:25 +02:00
..
absolute-positioning-alignment.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
abspos-pseudo-element-inside-table.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
acid2-reduction.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
align-top-and-bottom.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
auto-height.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
auto-margins.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
avoid-div-by-zero-in-table-measures.txt LibWeb: Distribute colspan cell width equally when baseline is zero 2026-02-06 11:37:14 +00:00
basic.txt LibWeb: Resolve horizontal box model metrics for table captions 2026-02-03 14:47:51 +01:00
border-attribute-overridden-by-css.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
border-attribute.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
border-collapse-is-inherited.txt LibWeb: Derive inline-block baseline from nested content 2026-01-22 19:36:09 +01:00
border-conflict-resolution-with-cell.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
border-conflict-resolution-with-col.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
border-conflict-resolution-with-row.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
border-conflict-resolution-with-rowgroup.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
border-conflict-resolutions-with-more-cells-than-cols.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
border-spacing-and-borders-table-width.txt LibWeb: Account for table padding in intrinsic table width calculation 2026-02-11 09:39:11 +01:00
border-spacing-colspan.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
border-spacing-rowspan.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
border-spacing-with-percentage-width.txt LibWeb: Restrict throwaway layout states to their subtree 2026-02-27 19:11:41 +01:00
border-spacing.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
borders.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
bottom-caption.txt LibWeb: Resolve horizontal box model metrics for table captions 2026-02-03 14:47:51 +01:00
caption-constrained-to-table-width.txt LibWeb: Resolve horizontal box model metrics for table captions 2026-02-03 14:47:51 +01:00
caption-specified-width-with-float.txt LibWeb: Compute CAPMIN from caption outer widths 2026-03-29 12:05:25 +02:00
cell-auto-max-width-table-percentage-width.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
cell-px-height.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
cell-relative-to-specified-table-width.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
cell-with-max-width.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
clip-spans-to-table-end.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
col-span-crash.txt LibWeb: Account for <col> span attribute during table grid formation 2026-02-24 12:14:54 +01:00
colgroup-with-two-cols.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
colspan-overflow-crash.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
colspan-percentage-width.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
colspan-weighted-width-distribution.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
colspan-width-distribution.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
colspan-with-trailing-characters.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
columns-width-distribution-1.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
display-table-size.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
fixed-layout-percentage-width-all-columns.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
fixed-layout-percentage-width.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
fixed-layout-pixel-width-all-columns.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
fixed-layout-pixel-width.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
fixed-layout.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
fixed-margins.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
in-auto-height-flex-item.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
infinite-padding.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
inline-after-table-cell.txt LibWeb: Stop inline elements after table-cell being swallowed into table 2026-02-21 05:48:53 +00:00
inline-table-width.txt LibWeb: Derive inline-block baseline from nested content 2026-01-22 19:36:09 +01:00
internal-alignment.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
keyword-value-does-not-constrain-column.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
line-breaking-in-cells.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
long-caption-increases-width.txt LibWeb: Resolve horizontal box model metrics for table captions 2026-02-03 14:47:51 +01:00
missing-cells-with-span.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
missing-cells.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
multi-line-cell.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
nested-table-alignment.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
nested-table-box-width.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
percentage-width-columns.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
percentage-width-for-nested-table-is-like-auto.txt LibWeb: Resolve percentage table widths in wrapper width computation 2026-02-21 05:16:56 +01:00
percentage-width-max-width-columns.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
propagate-style-update-to-wrapper.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
row-outer-size-with-computed-size.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
row-px-height.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
row-span-and-nested-tables.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
rows-height-distribution-1.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
rows-height-distribution-2.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
rows-height-distribution-3.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
rows-height-distribution-4.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
rowspan-with-trailing-characters.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
rowspan.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
size.txt LibWeb: Only set has_scrollable_overflow for scroll containers 2026-01-29 14:59:32 +01:00
stretch-to-fixed-height.txt LibWeb: Account for table padding in intrinsic table width calculation 2026-02-11 09:39:11 +01:00
style-invalidation-propagation-to-table-wrapper.txt LibWeb: Resolve percentage table widths in wrapper width computation 2026-02-21 05:16:56 +01:00
sum-of-percentage-column-widths-less-than-100.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
table-align-center-with-margin.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
table-align-center.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
table-cell-with-flex-display.txt LibWeb: Align anonymous table-cell flex/grid wrappers to top 2026-01-21 23:44:23 +01:00
table-cellpadding.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
table-fixup-font-size-and-line-height.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
table-formation-with-rowspan-in-the-middle.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
table-header-and-footer-groups.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
table-max-content-width.txt LibWeb: Return computed content width from TFC automatic_content_width() 2026-02-01 20:35:16 +01:00
table-root-padding-intrinsic-width.txt LibWeb: Account for table padding in intrinsic table width calculation 2026-02-11 09:39:11 +01:00
table-width-max-content-containing-block.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
table-width-max-content.txt LibWeb: Return computed content width from TFC automatic_content_width() 2026-02-01 20:35:16 +01:00
table-width-min-content-containing-block.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
table-width-min-content.txt LibWeb: Return computed content width from TFC automatic_content_width() 2026-02-01 20:35:16 +01:00
table-width.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
td-valign.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
th-default-text-align.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
top-caption-with-padding.txt LibWeb: Compute CAPMIN from caption outer widths 2026-03-29 12:05:25 +02:00
tr-valign.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
vertical-align-baseline.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
vertical-align-middle-td-vs-div.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
vertical-align-middle-vs-top.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
width-distribution-and-constrained-columns-increased-size-on-col.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
width-distribution-and-constrained-columns-size-on-col.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
width-distribution-and-constrained-columns.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
width-distribution-of-max-width-increment.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00
wrap-float-in-anonymous-table-cell.txt LibWeb: Only set has_scrollable_overflow for scroll containers 2026-01-29 14:59:32 +01:00
zero-columns-gridmax.txt LibWeb: Propagate overflow to viewport more correctly 2025-12-15 09:47:25 +00:00