Index: third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-local-background-and-child.html |
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-local-background-and-child.html b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-local-background-and-child.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b1869a456eafc963327a6acb679870a349785125 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-local-background-and-child.html |
@@ -0,0 +1,27 @@ |
+<style> |
+#scroller { |
+ background: gray local content-box; |
+ border: 10px solid rgba(0, 255, 0, 0.5); |
+ overflow: scroll; |
+ padding: 10px; |
+ width: 200px; |
+ height: 200px; |
+ will-change: transform; |
+} |
+ |
+.child { |
+ width: 30px; |
+ height: 30px; |
+ padding: 10px; |
+ border: 10px solid green; |
+ background: green content-box; |
+} |
+ |
+.spacer { |
+ height: 300px; |
+} |
+</style> |
+<div id="scroller"> |
+ <div class="child"></div> |
+ <div class="spacer"></div> |
+</div> |