Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-background-fractional-offset.html |
| diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-background-fractional-offset.html b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-background-fractional-offset.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..233fb9782cad40501636b3cf794dd2c40f2c3cb2 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-background-fractional-offset.html |
| @@ -0,0 +1,37 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +.layout-container { |
| + width: 210px; |
| + position: relative; |
| +} |
| +.position-container { |
| + position: relative; |
| + width: 203px; |
| + margin-left: auto; |
| + margin-right: auto; |
| +} |
| + |
| +#overflow { |
| + width: 50%; |
| + height: 100px; |
| + overflow: scroll; |
| + position: absolute; |
| + background: #0f0; |
| + will-change: transform; |
| +} |
| + |
| +.spacer { |
| + height: 2000px; |
| +} |
| +</style> |
| + |
| +<body> |
| + <div class="layout-container"> |
| + <div class="position-container"> |
| + <div id="overflow"> |
| + <div class="spacer"> |
| + </div> |
| + </div> |
| + </div> |
| + </div> |
| +</body> |