From a44ea540ad8a777abd668445530363c5def39f49 Mon Sep 17 00:00:00 2001 From: David Awogbemila Date: Wed, 1 Nov 2023 09:09:43 +0000 Subject: [PATCH] Bug 1856453 [wpt PR 42293] - [scroll-start] scroll-start-target should align with scroll-snap-align, a=testonly Automatic update from web-platform-tests [scroll-start] scroll-start-target should align with scroll-snap-align There is a proposal[1] for a more generic element-level scroll alignment indicator which would apply to scroll-start-targets and would mean that scroll-snap-align dictates the alignment of scroll-start-targets. It is likely that that work will be realized later than scroll-start-target. This patch allows scroll-snap-align directly specify the alignment of scroll-start-targets; this behavior is closer to the end-goal of that proposal. [1]https://github.com/w3c/csswg-drafts/issues/9012#issuecomment-1749344005 Bug: 1439807 Change-Id: Id6ff1937a806d00c3ac0326d53d379d1c39b5897 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4906566 Commit-Queue: David Awogbemila Reviewed-by: Steve Kobes Cr-Commit-Position: refs/heads/main@{#1214872} -- wpt-commits: ae3d6e3e0e7121408c173e158fb9eab53ec29b88 wpt-pr: 42293 --- ...rget-aligns-with-snap-align.tentative.html | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-aligns-with-snap-align.tentative.html diff --git a/testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-aligns-with-snap-align.tentative.html b/testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-aligns-with-snap-align.tentative.html new file mode 100644 index 0000000000000..6b133dea7d722 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-aligns-with-snap-align.tentative.html @@ -0,0 +1,74 @@ + + + + + CSS Scroll Snap 2 Test: scroll-start-target* + + + + + + + +
+
+
+
+ + +