commit 7355db42e6d595b06fad7f564ffafa74194a12c5 parent 6c919e377b1d4efa1240e27306474995b3a1dc8f Author: Javier Contreras Tenorio <javiercon@microsoft.com> Date: Mon, 8 Dec 2025 12:26:58 +0000 Bug 2004107 [wpt PR 56494] - [gap-decorations] Introduce rule-break: auto, a=testonly Automatic update from web-platform-tests [gap-decorations] Introduce rule-break: auto This CL introduces an `auto` keyword for `rule-break` properties in GapDecorations. While this isn't spec'd yet exactly, there seems to be consensus that we will introduce it. The exact behavior of it might change, but for now wit will resolve to `none` on non-grid container types (flex and multicol) while resolving to `spanning-item` for grid. Moreover we make `auto` the default for `rule-break` properties. If needed this change is easily revertible, but at the same time easily extendable for future behavior differences we might want for this property among container types. No extra tests are added since all currently existing tests that don't specify `rule-break` will be exercising this logic. https://github.com/w3c/csswg-drafts/issues/13127. Bug: 357648037 Change-Id: I2a1657cb35694e33e57928efc9d9e6848e47ec54 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7219668 Commit-Queue: Javier Contreras <javiercon@microsoft.com> Reviewed-by: Alison Maher <almaher@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1554082} -- wpt-commits: fb85f4e9ba5cd5b5ccdb1c75f58041ee22bdd6ed wpt-pr: 56494 Diffstat:
3 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/testing/web-platform/tests/css/css-gaps/parsing/rule-break-computed.html b/testing/web-platform/tests/css/css-gaps/parsing/rule-break-computed.html @@ -18,6 +18,7 @@ test_computed_value(property, "none"); test_computed_value(property, "spanning-item"); test_computed_value(property, "intersection"); + test_computed_value(property, "auto"); } </script> </body> diff --git a/testing/web-platform/tests/css/css-gaps/parsing/rule-break-invalid.html b/testing/web-platform/tests/css/css-gaps/parsing/rule-break-invalid.html @@ -14,7 +14,6 @@ <script> const properties = ['column-rule-break', 'row-rule-break', 'rule-break']; for (const property of properties) { - test_invalid_value(property, 'auto'); test_invalid_value(property, 'true'); test_invalid_value(property, '10px'); test_invalid_value(property, 'default'); diff --git a/testing/web-platform/tests/css/css-gaps/parsing/rule-break-valid.html b/testing/web-platform/tests/css/css-gaps/parsing/rule-break-valid.html @@ -17,6 +17,7 @@ test_valid_value(property, 'none'); test_valid_value(property, 'spanning-item'); test_valid_value(property, 'intersection'); + test_valid_value(property, 'auto'); } </script> </body>