commit 280f17363e04af29f534626d39cbcc97f8f7ae1a parent a303501ffadcb2cfb71925cb9f104c32b8d212f9 Author: Alison Maher <almaher@microsoft.com> Date: Sun, 26 Oct 2025 21:13:48 +0000 Bug 1995407 [wpt PR 55553] - [Masonry] Fix row/column-minimum-size-grid-items-*.html, a=testonly Automatic update from web-platform-tests [Masonry] Fix row/column-minimum-size-grid-items-*.html There were a few more tests that relied on grid.css being included to pass. Add this where needed, and update relevant tests to ensure we use "masonry" terminology instead of "grid" where it makes sense to. Bug: 343257585 Change-Id: I435484730e8636d96554a852c9ba3b9cf3ad4e7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7047897 Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com> Commit-Queue: Alison Maher <almaher@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1533152} -- wpt-commits: 78bee6cbb80c141fb06b9ca755abf39280167507 wpt-pr: 55553 Diffstat:
5 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/testing/web-platform/tests/css/css-grid/masonry/tentative/items/column-minimum-size-grid-items-002.html b/testing/web-platform/tests/css/css-grid/masonry/tentative/items/column-minimum-size-grid-items-002.html @@ -4,6 +4,7 @@ <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com"> <link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.5. Implied Minimum Size of Grid Items"> <meta name="assert" content="Checks that automatic minimum size is clamped with different column sizes."> +<link rel="stylesheet" href="/css/support/grid.css"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <style> .masonry { @@ -139,7 +140,7 @@ <div data-expected-width="25"></div> </div> -<h3>grid content writing-mode: vertical-lr;</h3> +<h3>masonry content writing-mode: vertical-lr;</h3> <pre>grid-template-columns: auto;</pre> @@ -246,7 +247,7 @@ <div data-expected-height="25"></div> </div> -<h3>grid content writing-mode: vertical-rl;</h3> +<h3>masonry content writing-mode: vertical-rl;</h3> <pre>grid-template-columns: auto;</pre> diff --git a/testing/web-platform/tests/css/css-grid/masonry/tentative/items/column-minimum-size-grid-items-003.html b/testing/web-platform/tests/css/css-grid/masonry/tentative/items/column-minimum-size-grid-items-003.html @@ -4,6 +4,7 @@ <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com"> <link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.5. Implied Minimum Size of Grid Items"> <meta name="assert" content="Checks that automatic minimum size is clamped with different column sizes and spaning items."> +<link rel="stylesheet" href="/css/support/grid.css"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <style> .masonry { @@ -144,7 +145,7 @@ <div data-expected-width="40"></div> </div> -<h3>grid content writing-mode: vertical-lr;</h3> +<h3>masonry content writing-mode: vertical-lr;</h3> <pre>grid-template-columns: auto auto;</pre> @@ -251,7 +252,7 @@ <div data-expected-height="40"></div> </div> -<h3>grid content writing-mode: vertical-rl;</h3> +<h3>masonry content writing-mode: vertical-rl;</h3> <pre>grid-template-columns: auto auto;</pre> diff --git a/testing/web-platform/tests/css/css-grid/masonry/tentative/items/row-minimum-size-grid-items-001.html b/testing/web-platform/tests/css/css-grid/masonry/tentative/items/row-minimum-size-grid-items-001.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <meta charset="utf-8"> -<title>CSS Grid Layout Test: Minimum size of grid items</title> +<title>CSS Masonry Layout Test: Minimum size of grid items</title> <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com"> <link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.5. Implied Minimum Size of Grid Items"> <link rel="match" href="../../../../reference/ref-filled-green-100px-square.xht"> diff --git a/testing/web-platform/tests/css/css-grid/masonry/tentative/items/row-minimum-size-grid-items-002.html b/testing/web-platform/tests/css/css-grid/masonry/tentative/items/row-minimum-size-grid-items-002.html @@ -251,7 +251,7 @@ <div data-expected-height="25"></div> </div> -<h3>grid container writing-mode: vertical-lr; & item writing-mode: horizontal-tb;</h3> +<h3>masonry container writing-mode: vertical-lr; & item writing-mode: horizontal-tb;</h3> <pre>grid-template-rows: auto;</pre> @@ -358,7 +358,7 @@ <div data-expected-width="25"></div> </div> -<h3>grid container writing-mode: vertical-rl; & item writing-mode: horizontal-tb;</h3> +<h3>masonry container writing-mode: vertical-rl; & item writing-mode: horizontal-tb;</h3> <pre>grid-template-rows: auto;</pre> diff --git a/testing/web-platform/tests/css/css-grid/masonry/tentative/items/row-minimum-size-grid-items-003.html b/testing/web-platform/tests/css/css-grid/masonry/tentative/items/row-minimum-size-grid-items-003.html @@ -4,6 +4,7 @@ <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com"> <link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.5. Implied Minimum Size of Grid Items"> <meta name="assert" content="Checks that automatic minimum size is clamped with different row sizes and spaning items."> +<link rel="stylesheet" href="/css/support/grid.css"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <style> .masonry { @@ -254,7 +255,7 @@ <div data-expected-height="40"></div> </div> -<h3>grid container writing-mode: vertical-lr; & item writing-mode: horizontal-tb;</h3> +<h3>masonry container writing-mode: vertical-lr; & item writing-mode: horizontal-tb;</h3> <pre>grid-template-rows: auto auto;</pre> @@ -361,7 +362,7 @@ <div data-expected-width="40"></div> </div> -<h3>grid container writing-mode: vertical-rl; & item writing-mode: horizontal-tb;</h3> +<h3>masonry container writing-mode: vertical-rl; & item writing-mode: horizontal-tb;</h3> <pre>grid-template-rows: auto auto;</pre>