commit 890d3403c4059a9f9924ca88df894825ab637272 parent 2f75e273471961d07083f0a6f5e9ed76f24e6e5d Author: Celeste Pan <celestepan@microsoft.com> Date: Sat, 20 Dec 2025 20:57:13 +0000 Bug 2007065 [wpt PR 56875] - [Masonry] Don't update auto-placement cursor after dense-packing an item., a=testonly Automatic update from web-platform-tests [Masonry] Don't update auto-placement cursor after dense-packing an item. Even when dense-packing is enabled, do not update the auto-placement cursor after dense-packing an item. Bug: 343257585 Change-Id: I0a19641cce302d15759f5065919343fdf27fec06 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7271666 Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Celeste Pan <celestepan@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1561011} -- wpt-commits: 719b9cb40d3af41ca9591675c29bd6095f6865cf wpt-pr: 56875 Diffstat:
5 files changed, 82 insertions(+), 0 deletions(-)
diff --git a/testing/web-platform/tests/css/css-display/reading-flow/tentative/WEB_FEATURES.yml b/testing/web-platform/tests/css/css-display/reading-flow/tentative/WEB_FEATURES.yml @@ -0,0 +1,3 @@ +features: +- name: reading-flow + files: '**' diff --git a/testing/web-platform/tests/css/css-grid/grid-lanes/tentative/item-placement/dense-packing/column-dense-packing-008-ref.html b/testing/web-platform/tests/css/css-grid/grid-lanes/tentative/item-placement/dense-packing/column-dense-packing-008-ref.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<html> +<style> +.grid { + display: grid; + item-tolerance: 0; + grid-template-columns: repeat(4, 50px); + padding: 10px; +} +</style> +<body> + <p>Ensure that the auto-placement cursor does not move after dense-packing an item.</p> + <div class="grid"> + <div style="background: lightskyblue; height: 40px; grid-column: 1;" > + 1 + </div> + <div style="background: lightcoral; height: 15px; grid-column: 1 / span 3; transform: translateY(-15px);" > + 2 + </div> + <div style="background: lightgreen; height: 15px; grid-column: 1 / span 2; transform: translateY(-15px);"> + 3 + </div> + <div style="background: yellow; height: 55px; grid-row: 1; grid-column: 4;"> + 4 + </div> + <div style="background:orchid; height: 10px; grid-row: 1; grid-column: 3;"> + 5 + </div> + <div style="background:orchid; height: 60px; transform: translateY(-15px);"> + 6 + </div> + </div> +</body> +</html> diff --git a/testing/web-platform/tests/css/css-grid/grid-lanes/tentative/item-placement/dense-packing/column-dense-packing-008.html b/testing/web-platform/tests/css/css-grid/grid-lanes/tentative/item-placement/dense-packing/column-dense-packing-008.html @@ -0,0 +1,39 @@ +<!DOCTYPE html> +<html> +<link rel="help" href="https://drafts.csswg.org/css-grid-3"> +<link rel="match" href="column-dense-packing-008-ref.html"> +<link rel="author" title="Celeste Pan" href="mailto:celestepan@microsoft.com"> +<style> +.grid-lanes { + display: grid-lanes; + item-tolerance: 0; + grid-template-columns: repeat(4, 50px); + padding: 10px; + grid-auto-flow: dense; +} +</style> +<body> + <p>Ensure that the auto-placement cursor does not move after dense-packing an item.</p> + <div class="grid-lanes"> + <div style="background: lightskyblue; height: 40px; grid-column: 1;" > + 1 + </div> + <div style="background: lightcoral; height: 15px; grid-column: 1 / span 3;" > + 2 + </div> + <div style="background: lightgreen; height: 15px; grid-column: 1 / span 2;"> + 3 + </div> + <div style="background: yellow; height: 55px; grid-column: 4;"> + 4 + </div> + <div style="background:orchid; height: 10px; grid-column: 3;"> + 5 + </div> + <!--Auto-placement cursor should be at the last line after placing item 4, and wrap around when we place item 6.--> + <div style="background:orchid; height: 60px;"> + 6 + </div> + </div> +</body> +</html> diff --git a/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/reading-flow-navigation/WEB_FEATURES.yml b/testing/web-platform/tests/html/interaction/focus/focusgroup/tentative/reading-flow-navigation/WEB_FEATURES.yml @@ -0,0 +1,3 @@ +features: +- name: reading-flow + files: '**' diff --git a/testing/web-platform/tests/shadow-dom/focus-navigation/reading-flow/tentative/WEB_FEATURES.yml b/testing/web-platform/tests/shadow-dom/focus-navigation/reading-flow/tentative/WEB_FEATURES.yml @@ -0,0 +1,3 @@ +features: +- name: reading-flow + files: '**'