forked from mirrors/gecko-dev
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
36 lines
No EOL
483 B
HTML
36 lines
No EOL
483 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
</head>
|
|
|
|
<body>
|
|
<style>
|
|
:root {
|
|
margin: 0px;
|
|
scroll-start: 100px;
|
|
}
|
|
|
|
#spacer {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
}
|
|
|
|
#box {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: blue;
|
|
}
|
|
|
|
#fragment_target {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: red;
|
|
}
|
|
</style>
|
|
<div id="spacer"></div>
|
|
<div id="box"></div>
|
|
<div id="fragment_target"></div>
|
|
</body>
|
|
|
|
</html> |