| Index: third_party/WebKit/LayoutTests/compositing/overflow/scroll-neg-z-index-and-composited-child.html
|
| diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/scroll-neg-z-index-and-composited-child.html b/third_party/WebKit/LayoutTests/compositing/overflow/scroll-neg-z-index-and-composited-child.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c397bf60ab3160625946d6412159a502dad23d9c
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/compositing/overflow/scroll-neg-z-index-and-composited-child.html
|
| @@ -0,0 +1,35 @@
|
| +<!doctype HTML>
|
| +<style>
|
| +body {
|
| + margin: 0;
|
| +}
|
| +::-webkit-scrollbar {
|
| + display: none;
|
| +}
|
| +#scroller {
|
| + background: gray;
|
| + height: 300px;
|
| + overflow: scroll;
|
| + position: relative;
|
| + z-index: 0;
|
| +}
|
| +
|
| +#content {
|
| + overflow: hidden;
|
| + position: relative;
|
| + background-color: white;
|
| + width: 1000px;
|
| + height: 1000px;
|
| + top: 50px;
|
| +}
|
| +</style>
|
| +<!-- The test succeeds if white is visible across all of the visible scrolling area, and no gray -->
|
| +<div id="scroller">
|
| + <div id="content"></div>
|
| + <div style="position: relative; z-index: -1; will-change: transform"></div>
|
| +</div>
|
| +<script>
|
| +onload = function() {
|
| + scroller.scrollTop = 50;
|
| +}
|
| +</script>
|
|
|