fune/testing/web-platform/tests/css/css-scroll-snap-2/scroll-start/scroll-start-with-anchor-navigation-inner-frame.html
David Awogbemila 5a797012f1 Bug 1839381 [wpt PR 40641] - [css-scroll-snap-2] Group scroll-start tests, a=testonly
Automatic update from web-platform-tests
[css-scroll-snap-2] Group scroll-start tests

The css-scroll-snap-2 directory will contains tests for scroll-start,
scroll-start-target, snapchanged, snapchanging, and :snapped. Having separate directories for this tests is a better way to organize them.

Bug: 1439807
Change-Id: Ide28fcc70cf6e24e52e504978d4a0ebeb721c5eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4628128
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: David Awogbemila <awogbemila@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1160035}

--

wpt-commits: 5fe38c6a86905c8237328c2ce954ed9b70759434
wpt-pr: 40641
2023-06-28 09:47:19 +00:00

38 lines
No EOL
570 B
HTML

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<style>
:root {
margin: 0px;
scroll-start: 100px;
}
#spacer {
height: 100vh;
width: 100vw;
}
#scroll_start_target {
width: 100px;
height: 100px;
background-color: blue;
}
#anchor_target {
width: 100px;
height: 100px;
background-color: red;
}
</style>
<a id="anchor_target_link" href="#anchor_target"></a>
<div id="spacer"></div>
<div id="scroll_start_target"></div>
<div id="anchor_target">
</div>
</body>
</html>