1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-19 18:51:00 +00:00
serenity/Tests/LibWeb/Layout/input/grid
Aliaksandr Kalenik e2c5e31292 LibWeb: Adjust grid columns size to fit spanning items
This change implements following paragraph from placement algorithm in
the spec:
"If the largest column span among all the items without a definite
column position is larger than the width of the implicit grid, add
columns to the end of the implicit grid to accommodate that column
span."

There were places in the grid implementation code with copies of this
text, but those were completely unrelated to the code where they were
being pasted so I removed them.
2023-07-13 16:54:53 +02:00
..
all-implicit-rows.html LibWeb: Use none as initial value for grid-template-column/rows 2023-06-07 14:13:07 +02:00
anonymous-inline-child.html LibWeb: Wrap child text sequences of grid container in anonymous blocks 2023-05-28 21:12:04 +02:00
auto-fill.html LibWeb: Use layout-test-mode for layout tests 2023-05-08 14:47:52 +02:00
auto-fit-collapse-empty-tracks.html LibWeb: Set 0px fixed size to collapsed auto-fit tracks in GFC 2023-06-20 18:24:26 +02:00
auto-fit.html LibWeb: Use layout-test-mode for layout tests 2023-05-08 14:47:52 +02:00
auto-track-sizes.html LibWeb: Support grid-auto-columns and grid-auto-rows properties in GFC 2023-05-22 06:05:19 +02:00
basic-2.html LibWeb: Implement more of "Resolve Intrinsic Track Sizes" in GFC 2023-05-10 05:52:47 +02:00
basic.html LibWeb: Use layout-test-mode for layout tests 2023-05-08 14:47:52 +02:00
borders.html LibWeb: Fix off-by-one in CSS calc() "negate" operation 2023-05-17 07:40:17 +02:00
calc-track-size.html LibWeb: Parse calc() function in grid sizes 2023-05-11 18:36:56 +02:00
column-1fr-1fr.html LibWeb: Use auto minimimum size while resolving flexible tracks in GFC 2023-05-17 07:48:38 +02:00
column-auto-auto.html LibWeb: Skip non-spanning items sizing if there are no such items 2023-05-17 07:48:38 +02:00
different-column-sizes.html LibWeb: Use layout-test-mode for layout tests 2023-05-08 14:47:52 +02:00
distribute-extra-space-across-spanned-tracks.html LibWeb: Consider all spanned tracks while finding extra space in GFC 2023-06-07 19:44:47 +02:00
float-container-columns-1fr-1fr.html LibWeb: Reset item_incurred_increase before distributing space in GFC 2023-05-16 07:47:47 +02:00
grid-gap-1.html Tests/LibWeb: Split input/grid/gap.html into smaller tests 2023-05-09 06:37:30 +02:00
grid-gap-2.html LibWeb: Fix off-by-one in CSS calc() "negate" operation 2023-05-17 07:40:17 +02:00
grid-gap-3.html Tests/LibWeb: Split input/grid/gap.html into smaller tests 2023-05-09 06:37:30 +02:00
grid-item-fixed-paddings.html LibWeb: Resolve grid item fixed size paddings in GFC 2023-05-19 06:12:05 +02:00
grid-item-fixed-size.html LibWeb: Resolve grid items preferred width in GFC 2023-05-11 18:37:06 +02:00
grid-item-horizontal-margins-auto.html LibWeb: Add support for horizontal margins of grid items in GFC 2023-06-08 07:14:47 +02:00
grid-item-min-size.html LibWeb: Flesh out basic support of min-width/height for grid items 2023-05-13 18:43:34 +02:00
grid-item-percentage-margins.html LibWeb: Resolve percentage padding and margins for grid items in GFC 2023-06-08 07:14:47 +02:00
grid-item-percentage-width-2.html LibWeb: Use grid item used width as available width during track sizing 2023-05-18 18:06:05 +02:00
grid-item-percentage-width.html LibWeb: Resolve grid items preferred width in GFC 2023-05-11 18:37:06 +02:00
grid-item-with-fit-content-width.html LibWeb: Support grid items with fit-content width :^) 2023-05-27 05:47:54 +02:00
grid-row-height-affected-by-item-margins.html LibWeb: Use grid item *outer* size when calculating minimum contribution 2023-06-12 17:51:08 +02:00
grid-shorthand-property.html LibWeb: Add basic parsing of grid shorthand CSS property 2023-05-27 05:47:14 +02:00
grid-template-areas-basics.html Tests/LibWeb: Split input/grid/template-areas.html into smaller tests 2023-05-09 06:37:30 +02:00
grid-template-columns-with-min-css-function.html LibWeb: Support more CSS functions in grid track size lists 2023-06-12 17:51:08 +02:00
grid-template.html LibWeb: Use layout-test-mode for layout tests 2023-05-08 14:47:52 +02:00
grow-beyond-limits.html LibWeb: Implement distributing space to tracks beyond limits in GFC 2023-06-22 06:48:12 +02:00
image-in-grid.html LibWeb: Use layout-test-mode for layout tests 2023-05-08 14:47:52 +02:00
inline-grid-simple.html LibWeb: Create Layout::Box for display: inline-grid 2023-07-11 19:15:17 +02:00
intrinsic-sized-column.html LibWeb: Use layout-test-mode for layout tests 2023-05-08 14:47:52 +02:00
intrinsic-sized-grid-2.html LibWeb: Return grid container width from automatic_content_width in GFC 2023-05-13 12:53:25 +02:00
intrinsic-sized-grid.html LibWeb: Use layout-test-mode for layout tests 2023-05-08 14:47:52 +02:00
item-column-span-2.html LibWeb: Consider span > 1 while getting available space for items in GFC 2023-05-17 15:55:14 +02:00
item-span-exceeds-columns-size.html LibWeb: Adjust grid columns size to fit spanning items 2023-07-13 16:54:53 +02:00
min-max-content.html LibWeb: Use layout-test-mode for layout tests 2023-05-08 14:47:52 +02:00
minmax-1.html Tests/LibWeb: Split input/grid/minmax.html into smaller tests 2023-05-09 06:37:30 +02:00
minmax-2.html LibWeb: Align GridFormattingContext::run_track_sizing() with the spec 2023-05-09 06:37:30 +02:00
minmax-3.html Tests/LibWeb: Split input/grid/minmax.html into smaller tests 2023-05-09 06:37:30 +02:00
minmax-auto-track-definition.html LibWeb: Expand minmax in grid tracks defined by grid-auto-rows/columns 2023-06-12 06:33:51 +02:00
minmax-invalid-1.html Tests/LibWeb: Split input/grid/minmax.html into smaller tests 2023-05-09 06:37:30 +02:00
minmax-with-max-function-inside.html LibWeb: Support CSS functions other than calc() for grid sizes 2023-06-21 06:14:51 +02:00
named-tracks.html LibWeb: Use layout-test-mode for layout tests 2023-05-08 14:47:52 +02:00
negative-grid-item-column-index.html LibWeb: Add support for grid items with negative column-start in GFC 2023-06-07 11:37:11 +02:00
positions-and-spans.html LibWeb: Use layout-test-mode for layout tests 2023-05-08 14:47:52 +02:00
relpos-grid-item.html LibWeb: Resolve used insets for grid items 2023-07-04 06:43:53 +02:00
repeat.html LibWeb: Use layout-test-mode for layout tests 2023-05-08 14:47:52 +02:00
row-height.html LibWeb: Use layout-test-mode for layout tests 2023-05-08 14:47:52 +02:00
row-span-2-maxcontent.html LibWeb: Implement more of spanning tracks sizing in GFC 2023-05-21 11:59:19 +02:00
row-span-2-mincontent.html LibWeb: Implement more of spanning tracks sizing in GFC 2023-05-21 11:59:19 +02:00
row-span-2-with-gaps.html LibWeb: Include gaps in for_each_spanned_track_by_item in GFC 2023-06-10 07:08:01 +02:00
row-span-2.html LibWeb: Start implementing sizing for tracks with span > 1 items in GFC 2023-05-14 19:32:34 +02:00
rows-1fr-1fr.html LibWeb: Implement more of "Expand Flexible Tracks" in GFC 2023-05-17 07:48:38 +02:00
template-lines-and-areas.html Tests/LibWeb: Split input/grid/template-areas.html into smaller tests 2023-05-09 06:37:30 +02:00
track-size-calc-with-percentage.html LibWeb: Fix crashing when grid track size is calc() with percentage 2023-06-02 19:02:31 +02:00
unresolvable-percentage-track.html LibWeb: Treat unresolvable percentages as auto to resolve sizes in GFC 2023-05-28 20:26:05 +02:00
valid-grid-areas-1.html Tests/LibWeb: Split input/grid/template-areas.html into smaller tests 2023-05-09 06:37:30 +02:00