diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-anchor-position/anchor-center-scroll-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-anchor-position/anchor-center-scroll-ref.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-center-scroll-ref.html b/testing/web-platform/tests/css/css-anchor-position/anchor-center-scroll-ref.html new file mode 100644 index 0000000000..d2638491ce --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-center-scroll-ref.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<title>CSS Test Reference</title> +<body style="margin:0"> + <div id="scroller" style="width:400px;height:400px;overflow:auto;background:orange"> + <div style="height:100px"></div> + <div style="width:100px;height:100px;background:pink"> + <div style="height:25px"></div> + <div style="width:50px;height:50px;background:purple"></div> + </div> + <div style="height:1000px"></div> + </div> +</body> +<script> + scroller.scrollTop = 100; +</script> |