mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-15 05:00:02 -10:00
Automatic update from web-platform-tests Fix automatic min size handling of flex and grid items to match the spec. This is a prerequisite to fix issue 40877677 and related issues because otherwise overflow: clip stops applying min-size: auto. Both the grid and flex specs mention "scroll container" already, which means that visible and clip should behave the same: * https://drafts.csswg.org/css-grid/#min-size-auto * https://drafts.csswg.org/css-flexbox/#min-size-auto There's technically a difference between "is scroll container" (what the spec says) and "overflow is not clip or visible", but the CSSWG already resolved on just looking at the overflow value in: https://github.com/w3c/csswg-drafts/issues/7714 Blink was doing the right thing for flex only on replaced elements for some reason. For grid, most stuff works already due to it using ComputedStyle::IsScrollContainer, but there was one case missing, which I added a test for. Bug: 40877677 Change-Id: I49f57b725ae7feb18250f1e40b3856ec2231bfb1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5505559 Reviewed-by: John Palmer <[email protected]> Reviewed-by: John Palmer <[email protected]> Reviewed-by: Morten Stenshorne <[email protected]> Auto-Submit: Emilio Cobos Álvarez <[email protected]> Commit-Queue: Ian Kilpatrick <[email protected]> Reviewed-by: Ian Kilpatrick <[email protected]> Cr-Commit-Position: refs/heads/main@{#1295163} -- wpt-commits: fc9991bceed83699c5839775d403ca8bcf7e94b7 wpt-pr: 46009
CSS Grid Layout Module Level 1 Test Suite
Directory containing the CSS Grid Layout spec test suite.
This suite is structured in different folders for each section of the spec (the name of the folders corresponds to the "id" of each section):
- 3 Grid Containers:
grid-model - 4 Grid Items:
grid-items - 5 The Explicit Grid:
grid-definition - 6 The Implicit Grid:
implicit-grids - 7 Grid Definition Shorthand:
grid-shorthand - 8 Clamping Overlarge Grids:
overlarge-grids - 9 Placing Grid Items:
placement - 10 Absolute Positioning:
abspos - 11 Alignment and Spacing:
alignment - 12 Grid Sizing:
layout-algorithm - 13 Fragmenting Grid Layout:
pagination
Links: