Bug 1843141 [wpt PR 40995] - [scroll-start-target] Apply scroll-start-target, a=testonly
commitf341bb89bae3fdce7170837905e3270ae4678a62
authorDavid Awogbemila <awogbemila@chromium.org>
Wed, 9 Aug 2023 10:56:54 +0000 (9 10:56 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 10 Aug 2023 14:59:22 +0000 (10 14:59 +0000)
treef1bc04b2282f5ac46551310c0e2fd27042a3aeaa
parent25551ae36340c9cee5c32e1bc92c107d9cb9d59b
Bug 1843141 [wpt PR 40995] - [scroll-start-target] Apply scroll-start-target, a=testonly

Automatic update from web-platform-tests
[scroll-start-target] Apply scroll-start-target

scroll-start-target[1] makes it possible to specify a scroller's initial
scroll position using one of its descendants. For example:

<div id="scroller">
  <div></div>
  <div id="target" style="scroll-start-target: auto"></div>
  <div></div>
</div>

Design doc at [2]

[1]https://drafts.csswg.org/css-scroll-snap-2/#scroll-start-target
[2]https://docs.google.com/document/d/13-WsJ1uL20BQ5M9FTfLh9nCgoERf4neJ4HTkgxf_-BM/edit?resourcekey=0-Ksy-i8w-1xrk3MVlfYrDXg

Bug: 1439807
Change-Id: Ic0f9efbb327f6f670c9f0abae145424b300c6af4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4681305
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: David Awogbemila <awogbemila@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1178552}

--

wpt-commits: 339e4c21b99cc0154dc486aedf2a1b5498d5d954
wpt-pr: 40995
16 files changed:
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-display-toggled.tentative.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-nested-container.tentative.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-root.tentative.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-rtl.tentative.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-with-anchor-navigation-inner-frame.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-with-anchor-navigation.tentative.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-with-hash-fragment-navigation-inner-frame.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-with-hash-fragment-navigation.tentative.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-with-scroll-snap.tentative.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-with-scroll-start-root.tentative.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-with-scroll-start.tentative.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-with-text-fragment-navigation-target.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-with-text-fragment-navigation.tentative.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target-with-user-programmatic-scroll.tentative.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/scroll-start-target.tentative.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scroll-snap-2/scroll-start-target/stash.py [new file with mode: 0644]