ladybird/Tests/LibWeb/Layout/expected/grid
Aliaksandr Kalenik 863416e3ac LibWeb: Make FC of containing block responsible for abspos layout
Before this change, a formatting context was responsible for layout of
absolutely positioned boxes whose FC root box was their parent (either
directly or indirectly). This only worked correctly when the containing
block of the absolutely positioned child did not escape the FC root.
This is because the width and height of an absolutely positioned box are
resolved based on the size of its containing block, so we needed to
ensure that the containing block's layout was completed before laying
out an absolutely positioned box.

With this change, the layout of absolutely positioned boxes is delayed
until the FC responsible for the containing block's layout is complete.
This has affected the way we calculate the static position. It is no
longer possible to ask the FC for a box's static position, as this FC's
state might be gone by the time the layout for absolutely positioned
elements occurs. Instead, the "static position rectangle" (a concept
from the spec) is saved in the layout state, along with information on
how to align the box within this rectangle when its width and height are
resolved.
2024-09-12 07:36:32 +02:00
..
1fr-1000px.txt LibWeb: Fix flexible track sizing in GFC 2024-07-17 18:00:18 +02:00
abspos-item-aligned-center.txt LibWeb: Support alignment of abspos grid items 2023-10-21 09:08:51 +02:00
abspos-item-with-grid-area.txt LibWeb: Position abspos items inside grid relative to their grid area 2023-10-31 08:46:17 +01:00
abspos-item.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
abspos-with-grid-container-as-parent.txt LibWeb: Make FC of containing block responsible for abspos layout 2024-09-12 07:36:32 +02:00
align-items.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
align-self.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
all-implicit-rows.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
anonymous-inline-child.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
auto-fill-and-named-line-placement.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
auto-fill-rows.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
auto-fill.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
auto-fit-collapse-empty-tracks.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
auto-fit-empty-container.txt LibWeb: Fix division by zero in auto-fit/fill track calculation in GFC 2023-12-16 19:39:44 +01:00
auto-fit.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
auto-flow-column-spanning-item.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
auto-flow-column.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
auto-track-sizes.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
basic-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
basic.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
borders.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
calc-track-size.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
column-1fr-1fr.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
column-auto-auto.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
columns-auto-fill-with-gap-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
columns-auto-fill-with-gap-3.txt 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.txt 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.txt LibWeb: Fix infinite recursion when grid has "max-width: max-content" 2024-02-21 10:06:19 +01:00
container-min-height.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-calc-in-grid-position.txt LibWeb/CSS: Support calc() in grid placement values 2024-01-17 17:26:55 +01:00
define-area-using-line-names.txt LibWeb: Change grid item placement to look for area by boundary lines 2024-07-18 09:05:37 +02:00
different-column-sizes.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
distribute-extra-space-across-spanned-tracks.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
fit-content-1.txt LibWeb: Implement grid-template function fit-content() 2024-07-25 13:12:26 +02:00
fit-content-2.txt LibWeb: Clamp growth limit after adding planned increase in GFC 2024-09-09 11:41:10 +02:00
fit-content-3.txt 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.txt LibWeb: Fix wrong assumption that repeat() is always first track [GFC] 2024-09-09 22:05:30 +02:00
float-container-columns-1fr-1fr.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
floating-item.txt LibWeb: Float property should be ignored for grid items 2023-10-29 09:43:13 +01:00
floating-table-wrapper-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
grid-area-non-token-parts-crash.txt LibWeb: Don't assume grid-area parts are Tokens 2023-11-22 09:45:51 +01:00
grid-column-non-token-parts-crash.txt LibWeb: Don't assume grid-row/grid-column parts are Tokens 2023-11-22 09:45:51 +01:00
grid-container-min-height-border-box.txt LibWeb: Respect box-sizing in min-height calculation of grid container 2023-12-26 11:13:38 +01:00
grid-gap-1.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
grid-gap-2.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
grid-gap-3.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
grid-item-fixed-paddings.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
grid-item-fixed-size.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
grid-item-horizontal-margins-auto.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
grid-item-min-size.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
grid-item-percentage-margins.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
grid-item-percentage-width-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
grid-item-percentage-width.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
grid-item-vertical-padding-and-margin-percentages.txt LibWeb: Resolve grid item vertical margin/padding against CB width 2024-01-06 21:06:21 +01:00
grid-item-with-fit-content-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
grid-placement-shorthand-single-custom-ident.txt 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.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
grid-row-start-non-token-parts-crash.txt LibWeb: Don't assume grid-line parts are Tokens 2023-11-22 09:45:51 +01:00
grid-shorthand-property.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
grid-span-4.txt LibGfx+LibWeb: Use harfbuzz for text shaping 2024-08-16 22:28:34 +02:00
grid-template-areas-basics.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
grid-template-columns-with-min-css-function.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
grid-template.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
grow-beyond-limits.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
image-in-grid.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
implicit-lines.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
inline-grid-simple.txt LibWeb: Propagate margin and offset when computing a box's baseline 2024-07-15 21:31:51 +02:00
intrinsic-sized-column.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
intrinsic-sized-grid-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
intrinsic-sized-grid.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
intrinsic-sizing-should-account-for-gaps.txt 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.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
item-align-self-center-and-min-height.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
item-column-span-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
item-fit-content-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
item-max-width.txt LibWeb: Resolve grid item's min-width and max-width in GFC 2023-10-24 07:25:20 +02:00
item-min-max-percentage-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
item-min-width.txt 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.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
item-with-box-sizing-border-box.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
item-with-min-width-and-place-self-start.txt LibWeb: Fix box alignment when it has min-width or max-width in GFC 2023-10-27 07:14:34 +02:00
items-min-content-size-should-account-paddings.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
justify-content.txt LibWeb: Add tests for justify-*: left/right 2024-09-10 10:40:07 +01:00
justify-items.txt LibWeb: Add tests for justify-*: left/right 2024-09-10 10:40:07 +01:00
justify-self.txt LibWeb: Add tests for justify-*: left/right 2024-09-10 10:40:07 +01:00
justify-start-min-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
line-placement-with-repeat.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
max-width-grid-container-wrapper-in-max-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
min-height-from-text.txt LibWeb: Use the correct dimension when computing the max grid size 2024-09-04 22:41:15 +02:00
min-max-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
minmax-1.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
minmax-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
minmax-3.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
minmax-auto-track-definition.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
minmax-invalid-1.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
minmax-non-token-contents-crash.txt LibWeb: Don't assume grid size is always Function or Token 2023-11-22 09:45:51 +01:00
minmax-with-max-function-inside.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
negative-grid-item-column-index.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
order.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
place-items-center-nested-grids.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
place-items-center.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
place-self.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
placement-1.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
placement-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
placement-3.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
placement-4.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
placement-5.txt LibWeb: Respect "auto flow" property in grid layout 2024-03-06 07:23:27 +01:00
placement-6.txt LibWeb: Respect "auto flow" property in grid layout 2024-03-06 07:23:27 +01:00
placement-7.txt LibWeb: Respect "auto flow" property in grid layout 2024-03-06 07:23:27 +01:00
placement-8.txt LibWeb: Respect "auto flow" property in grid layout 2024-03-06 07:23:27 +01:00
placement-9.txt LibWeb: Respect "auto flow" property in grid layout 2024-03-06 07:23:27 +01:00
placement-10.txt LibWeb: Respect "auto flow" property in grid layout 2024-03-06 07:23:27 +01:00
placement-using-named-tracks-1.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
placement-using-named-tracks-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
placement-using-named-tracks-3.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
relpos-grid-item.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
repeat-auto-fit-fill-cannot-have-auto.txt 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.txt LibWeb: Don't assume repeat() contents are Tokens 2023-11-22 09:45:51 +01:00
repeat.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
replaced-item-1.txt LibWeb: Call prepare_for_replaced_layout() on replaced boxes in GFC 2023-10-31 07:08:30 +01:00
restart-fr-algorithm-if-less-than-base-size.txt LibWeb: Implement missing step in GFC fr size calculation 2024-08-31 07:47:20 +02:00
row-1fr.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
row-height.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
row-span-2-maxcontent.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
row-span-2-mincontent.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
row-span-2-with-gaps.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
row-span-2.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
rows-1fr-1fr.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
should-not-cause-infinite-spinning-in-space-distribution.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
should-not-hang-in-size-distribution.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
stretch-auto-tracks.txt LibWeb: Align with spec "stretch auto tracks" step in GFC 2024-01-16 13:13:47 +01:00
template-areas-1.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
template-areas-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
template-areas-3.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
template-lines-and-areas.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
track-size-calc-with-percentage.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
two-items-spanning-one-1fr-row.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
unresolvable-percentage-track.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
valid-grid-areas-1.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
vertical-margins-auto.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00