| Index: third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-into-view-sticky.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-into-view-sticky.html b/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-into-view-sticky.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bc76a7720c92a2ca3f661030a0c478907518668b
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-into-view-sticky.html
|
| @@ -0,0 +1,18 @@
|
| +<style>
|
| +.sticky {
|
| + position: sticky;
|
| + top: 0;
|
| + margin-bottom: 800px;
|
| + height: 100px;
|
| +}
|
| +</style>
|
| +<script>
|
| +onload = function() {
|
| + target.scrollIntoView();
|
| +}
|
| +</script>
|
| +<body>
|
| + <div class="sticky" style="background: red;"></div>
|
| + <div class="sticky" style="background: green;" id="target"></div>
|
| +</body>
|
| +</html>
|
|
|