ladybird/Tests/LibWeb/Layout/input/grid
Aliaksandr Kalenik 80c8e787a8
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
LibWeb: Fix abspos layout when box is contained by grid area
Before this change, `layout_absolutely_positioned_element()` in GFC
had an assumption that all contained by grid container abspos boxes were
also direct children of the grid container. This change adds handling
for the cases when it's not true and, in order to identify grid area
abspos box belongs to, we have to find ancestor grid item.
2025-08-17 17:58:16 +02:00
..
1fr-1000px.html
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
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
auto-fill-rows.html
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
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
columns-auto-fill-with-gap-3.html
columns-auto-fill-with-gap.html
container-max-width-max-content.html
container-min-height.html
css-calc-in-grid-position.html
define-area-using-line-names.html
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
floating-table-wrapper-width.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03: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
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
inline-abspos-item.html Meta: Add doctypes to all grid layout tests 2025-05-13 03:49:32 +03:00
inline-grid-simple.html
intrinsic-sized-column.html
intrinsic-sized-grid-2.html
intrinsic-sized-grid.html
intrinsic-sizing-should-account-for-gaps.html
item-align-self-center-and-max-height.html
item-align-self-center-and-min-height.html
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
item-max-width.html
item-min-width.html
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
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
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
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
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
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
placement-6.html
placement-7.html
placement-8.html
placement-9.html
placement-10.html
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
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
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
template-areas-1.html
template-areas-2.html
template-areas-3.html
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