ladybird/Tests/LibWeb/Layout/input/grid
Aliaksandr Kalenik 87c7fb1d63 LibWeb: Use 0 as min-content size for items with overflow:hidden [GFC]
This behavior is not specified but required to match other browsers.

Fixes https://github.com/LadybirdBrowser/ladybird/issues/5907
2025-08-30 15:57:45 +02:00
..
1fr-1000px.html LibWeb: Fix flexible track sizing in GFC 2024-07-17 18:00:18 +02:00
abspos-item-aligned-center.html
abspos-item-contained-by-grid-area.html LibWeb: Fix abspos layout when box is contained by grid area 2025-08-17 17:58:16 +02:00
abspos-item-with-grid-area-aligned-in-center.html LibWeb: Use grid area size for abspos grid items alignment 2024-09-17 07:51:50 +02:00
abspos-item-with-grid-area-and-percentage-size-2.html LibWeb: Use available size in calculate_inner_height() 2024-09-15 18:00:08 +02:00
abspos-item-with-grid-area-and-percentage-size.html LibWeb: Use grid area as available size for abspos contained in GFC 2024-09-12 21:07:41 +02:00
abspos-item-with-grid-area.html LibWeb: Position abspos items inside grid relative to their grid area 2023-10-31 08:46:17 +01:00
abspos-item-with-padding.html LibWeb: Align to padding edge only auto positioned abspos grid items 2024-09-21 20:10:49 +02:00
abspos-item-with-percentage-padding.html LibWeb: Fix "box-sizing: border-box" resolution for abspos items 2024-09-17 07:56:18 +02:00
abspos-item.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
abspos-placed-into-augmented-row-and-column.html LibWeb: Improve grid area calculation for abspos items in GFC 2024-10-11 09:08:46 +02:00
abspos-with-auto-column-placed-in-augmented-row.html LibWeb: Improve grid area calculation for abspos items in GFC 2024-10-11 09:08:46 +02:00
abspos-with-auto-row-and-column-contained-by-grid.html LibWeb: Improve grid area calculation for abspos items in GFC 2024-10-11 09:08:46 +02:00
abspos-with-auto-row-placed-in-augmented-column.html LibWeb: Improve grid area calculation for abspos items in GFC 2024-10-11 09:08:46 +02:00
abspos-with-grid-container-as-parent.html LibWeb: Make FC of containing block responsible for abspos layout 2024-09-12 07:36:32 +02:00
align-content.html LibWeb/Layout: Implement align-content for grid layout 2024-10-08 21:30:03 +02:00
align-items.html
align-self.html
all-implicit-rows.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
anonymous-inline-child.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
auto-fill-and-named-line-placement.html LibWeb: Account for auto-fill/fit when expanding grid lines in GFC 2024-01-05 22:52:25 +01:00
auto-fill-rows.html LibWeb: Support auto-fill for rows in GFC 2024-01-07 11:12:35 +01:00
auto-fill.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
auto-fit-collapse-empty-tracks.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
auto-fit-empty-container.html LibWeb: Fix division by zero in auto-fit/fill track calculation in GFC 2023-12-16 19:39:44 +01:00
auto-fit-is-invalid-when-min-and-max-are-both-not-definite.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
auto-fit.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
auto-flow-column-spanning-item.html
auto-flow-column.html
auto-track-sizes.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
basic-2.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
basic.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
borders.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
calc-track-size.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
clamp-content-based-minimum-size-by-limited-max-track-size.html LibWeb: Clamp content-based minimum size by limited max track size [GFC] 2025-03-18 15:01:02 +01:00
column-1fr-1fr.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
column-auto-auto.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
columns-auto-fill-with-gap-2.html LibWeb: Fix auto-fill track counting to correctly handle gaps in GFC 2024-01-07 09:57:13 +01:00
columns-auto-fill-with-gap-3.html LibWeb: Fix accounting for gaps in auto-fit count calculation in GFC 2024-01-17 15:15:06 +01:00
columns-auto-fill-with-gap.html LibWeb: Account for gap in auto-fill columns count calculation in GFC 2024-01-05 22:52:25 +01:00
container-max-width-max-content.html LibWeb: Fix infinite recursion when grid has "max-width: max-content" 2024-02-21 10:06:19 +01:00
container-min-height.html
css-calc-in-grid-position.html LibWeb/CSS: Support calc() in grid placement values 2024-01-17 17:26:55 +01:00
define-area-using-line-names.html LibWeb: Change grid item placement to look for area by boundary lines 2024-07-18 09:05:37 +02:00
different-column-sizes.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
distribute-extra-space-across-spanned-tracks.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
fit-content-1.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
fit-content-2.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
fit-content-3.html LibWeb: Clamp growth limit after adding planned increase in GFC 2024-09-09 11:41:10 +02:00
fixed-tracks-followed-by-repeat-auto-fill.html LibWeb: Fix wrong assumption that repeat() is always first track [GFC] 2024-09-09 22:05:30 +02:00
float-container-columns-1fr-1fr.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
floating-item.html LibWeb: Float property should be ignored for grid items 2023-10-29 09:43:13 +01:00
floating-table-wrapper-width.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
gfc-between-relpos-gfc-and-abspos-item.html LibWeb: Handle correctly case when abspos and relpos GFC is interleaved 2025-08-19 09:28:45 +02:00
grid-area-non-token-parts-crash.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-column-non-token-parts-crash.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-container-min-height-border-box.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-gap-1.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-gap-2.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-gap-3.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-item-fixed-paddings.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-item-fixed-size.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-item-horizontal-margins-auto.html
grid-item-min-size.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-item-percentage-margins.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-item-percentage-width-2.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-item-percentage-width.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-item-vertical-padding-and-margin-percentages.html LibWeb: Resolve grid item vertical margin/padding against CB width 2024-01-06 21:06:21 +01:00
grid-item-with-fit-content-width.html
grid-placement-shorthand-single-custom-ident.html LibWeb: Set correct longhand values when using grid-placement shorthand 2024-08-29 07:00:00 +02:00
grid-row-height-affected-by-item-margins.html
grid-row-overflow-crash.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-row-start-non-token-parts-crash.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-shorthand-property.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-span-4.html
grid-template-areas-basics.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-template-columns-with-min-css-function.html
grid-template.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
grid-with-min-content-max-width.html LibWeb: Fix infinite recursion when max-width is min/max-content in GFC 2024-10-30 08:47:52 +01:00
grow-beyond-limits.html
image-in-grid.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
image-with-percentage-width-and-auto-height.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
img-with-percentage-width-and-height.html LibWeb: Account for natural aspect ratio in calculate_min_content_height 2025-07-08 22:35:04 +02:00
implicit-lines.html LibWeb: Add support for implicit grid lines formed by grid areas in GFC 2024-01-08 09:28:37 +01:00
inline-abspos-item.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
inline-grid-simple.html
inline-item-with-overflow-hidden.html LibWeb: Use 0 as min-content size for items with overflow:hidden [GFC] 2025-08-30 15:57:45 +02:00
intrinsic-sized-column.html
intrinsic-sized-grid-2.html
intrinsic-sized-grid.html
intrinsic-sizing-should-account-for-gaps.html LibWeb: Account for gaps in grid container's intrinsic size calculation 2024-01-16 21:54:23 +01:00
item-align-self-center-and-max-height.html LibWeb: Add support for grid item's min-height and max-height in GFC 2023-10-29 08:46:51 +01:00
item-align-self-center-and-min-height.html LibWeb: Add support for grid item's min-height and max-height in GFC 2023-10-29 08:46:51 +01:00
item-column-span-2.html Tests: Add doctypes to remaining test cases 2025-06-21 14:09:47 +02:00
item-fit-content-width.html LibWeb: Handle fit-content in calculate_max_content_contribution in GFC 2023-10-26 08:37:42 +02:00
item-max-width.html LibWeb: Resolve grid item's min-width and max-width in GFC 2023-10-24 07:25:20 +02:00
item-min-width.html LibWeb: Resolve grid item's min-width and max-width in GFC 2023-10-24 07:25:20 +02:00
item-span-exceeds-columns-size.html Tests: Add doctypes to remaining test cases 2025-06-21 14:09:47 +02:00
item-with-box-sizing-border-box.html LibWeb: Account for box-sizing in grid-items width calculation 2023-11-02 07:37:11 +01:00
item-with-min-content-width.html LibWeb/Layout: Fix min{max}-content size calculation for grid items 2025-03-15 13:51:16 +01:00
item-with-min-width-and-place-self-start.html LibWeb: Fix box alignment when it has min-width or max-width in GFC 2023-10-27 07:14:34 +02:00
item-with-percentage-max-width.html LibWeb: Fix min-width and max-width resolution for grid items 2024-09-13 11:59:51 +02:00
items-min-content-size-should-account-paddings.html LibWeb: Use max content contribution in flex_fraction in GFC 2023-10-24 07:26:25 +02:00
justify-content-cols.html LibWeb/Layout: Implement justify-content for column spacing in grid 2024-10-05 19:21:49 +02:00
justify-content-fr.html LibWeb/Layout: Unify grid justify-content handling for grid area 2024-10-10 13:37:08 +02:00
justify-content.html LibWeb: Add tests for justify-*: left/right 2024-09-10 10:40:07 +01:00
justify-items.html LibWeb: Add tests for justify-*: left/right 2024-09-10 10:40:07 +01:00
justify-self.html LibWeb: Add tests for justify-*: left/right 2024-09-10 10:40:07 +01:00
justify-start-min-width.html
line-based-placement-named-lines-with-span-negative.html LibWeb: Fix grid placement with named lines 2025-04-05 21:30:37 +02:00
line-based-placement-named-lines-with-span.html LibWeb: Fix grid placement with named lines 2025-04-05 21:30:37 +02:00
line-based-with-repeat.html LibWeb: Fix grid placement with named lines 2025-04-05 21:30:37 +02:00
line-placement-with-repeat.html LibWeb: Fix grid line name placement when repeat() is used 2024-01-05 13:21:09 +01:00
max-height-fit-content.html LibWeb: Treat min{max}-height as none if available is intrinsic [GFC] 2024-12-03 23:10:08 +01:00
max-width-grid-container-wrapper-in-max-content.html LibWeb: Redo "tracks maximize" if initial run is over max-size in GFC 2023-12-26 19:19:50 +01:00
min-height-from-text.html LibWeb: Use the correct dimension when computing the max grid size 2024-09-04 22:41:15 +02:00
min-max-content.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
minmax-1.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
minmax-2.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
minmax-3.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
minmax-auto-track-definition.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
minmax-invalid-1.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
minmax-non-token-contents-crash.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
minmax-with-max-function-inside.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
minmax-with-percentage-max.html LibWeb: Don't assume length-percentage is always a length [GFC] 2025-03-24 18:59:21 +01:00
negative-grid-item-column-index.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
order.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
place-items-center-nested-grids.html
place-items-center.html
place-self.html
placement-1.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
placement-2.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
placement-3.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
placement-4.html Tests: Add doctypes to remaining test cases 2025-06-21 14:09:47 +02:00
placement-5.html LibWeb: Respect "auto flow" property in grid layout 2024-03-06 07:23:27 +01:00
placement-6.html LibWeb: Respect "auto flow" property in grid layout 2024-03-06 07:23:27 +01:00
placement-7.html LibWeb: Respect "auto flow" property in grid layout 2024-03-06 07:23:27 +01:00
placement-8.html LibWeb: Respect "auto flow" property in grid layout 2024-03-06 07:23:27 +01:00
placement-9.html LibWeb: Respect "auto flow" property in grid layout 2024-03-06 07:23:27 +01:00
placement-10.html LibWeb: Respect "auto flow" property in grid layout 2024-03-06 07:23:27 +01:00
placement-auto-negative.html LibWeb: Fix grid item placement when only grid-column-end is specified 2025-06-03 22:22:24 +02:00
placement-using-named-tracks-1.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
placement-using-named-tracks-2.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
placement-using-named-tracks-3.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
relative-position-grid-item-with-percentage-insets.html LibWeb: Fix percentage insets resolution for grid items 2024-11-11 20:20:39 +01:00
relpos-grid-item.html
repeat-auto-fit-fill-cannot-have-auto.html LibWeb: Ignore repeat(auto-fit/auto-fill, auto) as it is not allowed 2024-02-11 17:51:50 +01:00
repeat-non-token-contents-crash.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
repeat.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
replaced-box-with-percentage-max-width-2.html LibWeb: Fix cyclic percentage resolution in calculate_min_content_width 2025-08-13 10:14:37 +01:00
replaced-box-with-percentage-max-width.html LibWeb: Fix grid layout for replaced items with percentage max-width 2025-08-10 11:07:02 +02:00
replaced-item-1.html LibWeb: Call prepare_for_replaced_layout() on replaced boxes in GFC 2023-10-31 07:08:30 +01:00
replaced-item-2.html LibWeb/Layout: Improve grid item sizing for replaced boxes 2025-03-20 03:36:56 +01:00
restart-fr-algorithm-if-less-than-base-size.html LibWeb: Implement missing step in GFC fr size calculation 2024-08-31 07:47:20 +02:00
row-1fr.html
row-gaps-with-overflowing-spans-crash.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
row-height.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
row-span-2-maxcontent.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
row-span-2-mincontent.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
row-span-2-with-gaps.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
row-span-2.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
rows-1fr-1fr.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
should-not-cause-infinite-spinning-in-space-distribution.html
should-not-hang-in-size-distribution.html
stretch-auto-tracks.html LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
template-areas-1.html LibWeb: Fix building of areas spanning multiple rows in GFC 2023-10-22 19:38:18 +02:00
template-areas-2.html LibWeb: Fix building of areas spanning multiple rows in GFC 2023-10-22 19:38:18 +02:00
template-areas-3.html LibWeb: Fix building of areas spanning multiple rows in GFC 2023-10-22 19:38:18 +02:00
template-lines-and-areas.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
track-size-calc-with-percentage.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
two-items-spanning-one-1fr-row.html
unresolvable-percentage-track.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
use-limited-contribution-if-container-has-intrinsic-available-size.html LibWeb: Correctly calculate grid item size while accommodating fr track 2025-08-06 22:42:07 +02:00
valid-grid-areas-1.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
vertical-margins-auto.html