servo/tests/wpt/meta/css/css-sizing/stretch
Oriol Brufau 93c9fc14f1
layout: Let stretch on flex item cross size stretch to the line (#38526)
We were instead stretching to the containing block, which implied that
the behaviors of a `stretch` size and `stretch` alignment weren't
consistent.

As resolved by the CSSWG, the behavior will now be:
 - If the cross size of the line is known, stretch to the line.
 - Otherwise, stretch to the containing block.

See https://github.com/w3c/csswg-drafts/issues/11784

This aligns us with Blink, which has already shipped this new behavior.

Testing: Improves existing WPT and adds a new test.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-08-08 15:45:30 +00:00
..
aspect-ratio-1.html.ini Update web-platform-tests to revision b'8686b7a6d288d3b2c22b5ddb5a21773619b22b85' (#34202) 2024-11-10 01:42:44 +00:00
block-height-005.html.ini layout: Fix interaction of margin and stretch size on block-level boxes (#35904) 2025-03-11 21:32:28 +00:00
block-height-008.html.ini layout: Fix interaction of margin and stretch size on block-level boxes (#35904) 2025-03-11 21:32:28 +00:00
cache-miss-001.html.ini Sync WPT with upstream (13-06-2025) (#37436) 2025-06-13 14:15:36 +00:00
cache-miss-002.html.ini Sync WPT with upstream (13-06-2025) (#37436) 2025-06-13 14:15:36 +00:00
content-contribution-001.html.ini Partial implementation of keyword sizes for block layout (#34568) 2024-12-16 12:34:57 +00:00
stretch-alias-block-size-001.tentative.html.ini Forward manager_number to NullBrowser constructor (#37125) 2025-05-25 15:12:55 +00:00
stretch-alias-inline-size-001.tentative.html.ini Forward manager_number to NullBrowser constructor (#37125) 2025-05-25 15:12:55 +00:00
stretch-alias-max-block-size-001.tentative.html.ini Forward manager_number to NullBrowser constructor (#37125) 2025-05-25 15:12:55 +00:00
stretch-alias-max-inline-size-001.tentative.html.ini Forward manager_number to NullBrowser constructor (#37125) 2025-05-25 15:12:55 +00:00
stretch-alias-min-block-size-001.tentative.html.ini Update web-platform-tests to revision b'bf49dde84c5f05613115d6146d109f0ec3900694' (#34483) 2024-12-05 05:23:07 +00:00
stretch-alias-min-inline-size-001.tentative.html.ini Update web-platform-tests to revision b'bf49dde84c5f05613115d6146d109f0ec3900694' (#34483) 2024-12-05 05:23:07 +00:00
stretch-block-size-001.html.ini layout: Let stretch on flex item cross size stretch to the line (#38526) 2025-08-08 15:45:30 +00:00
stretch-block-size-002.html.ini Update web-platform-tests to revision b'979291d49c1a8e3d811df117d9e6b5d399a6deb2' (#34733) 2024-12-22 01:37:35 +00:00
stretch-block-size-003.html.ini Update web-platform-tests to revision b'979291d49c1a8e3d811df117d9e6b5d399a6deb2' (#34733) 2024-12-22 01:37:35 +00:00
stretch-inline-size-001.html.ini layout: Let stretch on flex item cross size stretch to the line (#38526) 2025-08-08 15:45:30 +00:00
stretch-inline-size-002.html.ini Update web-platform-tests to revision b'979291d49c1a8e3d811df117d9e6b5d399a6deb2' (#34733) 2024-12-22 01:37:35 +00:00
stretch-inline-size-003.html.ini Update web-platform-tests to revision b'979291d49c1a8e3d811df117d9e6b5d399a6deb2' (#34733) 2024-12-22 01:37:35 +00:00
stretch-max-block-size-001.html.ini layout: Let stretch on flex item cross size stretch to the line (#38526) 2025-08-08 15:45:30 +00:00
stretch-max-inline-size-001.html.ini layout: Let stretch on flex item cross size stretch to the line (#38526) 2025-08-08 15:45:30 +00:00
stretch-min-block-size-001.html.ini layout: Let stretch on flex item cross size stretch to the line (#38526) 2025-08-08 15:45:30 +00:00
stretch-min-inline-size-001.html.ini layout: Let stretch on flex item cross size stretch to the line (#38526) 2025-08-08 15:45:30 +00:00