ladybird/Base/res/html/tests
Andreas Kling 80ce0419b6 LibWeb: Fix abspos flex container with height:auto getting zero height
When laying out abspos boxes, we compute the height twice: before and
after the inside of the box has been laid out.

The first pass allows percentage vertical values inside the box to be
resolved against the box's height. The second pass resolves the final
used value for the height of the box itself.

In cases where the box height depends on the results of inside layout,
we were incorrectly setting the box to having a definite zero height.
This led to incorrect results when sizing an abspos flex container,
since the FFC sizes containers (in row layouts) based on whether the
container has a definite height.

To avoid this problem, this patch adds an enum so we can differentiate
between the two abspos height computation passes. If the first pass
discovers a dependency on the inside layout, we simply bail out of
computing the height, leaving it as indefinite. This allows the FFC
to size its container correctly, and the correct height gets set by
the second pass.
2023-01-06 21:12:55 +01:00
..
abspos-flexbox-with-auto-height.html LibWeb: Fix abspos flex container with height:auto getting zero height 2023-01-06 21:12:55 +01:00
Attr-cloneNode.html Base: Add two HTML test pages for DOM cloneNode() functionality 2022-12-14 15:21:48 +01:00
inline-block-treat-100pct-width-as-auto.html LibWeb: Treat unresolvable percentage width on inline-block as auto 2022-11-28 19:14:05 +01:00
ProcessingInstruction-cloneNode.html Base: Add two HTML test pages for DOM cloneNode() functionality 2022-12-14 15:21:48 +01:00
sameobject-behavior-for-htmlcollection-properties.html Base: Add a test for [SameObject] behavior in LibWeb 2022-11-25 22:49:59 +01:00