Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1528)

Unified Diff: third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-local-image-background-expected.html

Issue 2068723002: Paint local attachment backgrounds into composited scrolling contents layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge allLayersAreLocal and ComputedStyle::hasEntirelyLocalBackground Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-local-image-background-expected.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-local-image-background-expected.html b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-local-image-background-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..5e088183a3e4d0acf39092a0fbbfeae9cc2f88bd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-local-image-background-expected.html
@@ -0,0 +1,24 @@
+<script>
+onload = function() {
+ document.getElementById('scroller').scrollTop = 200;
+}
+</script>
+<style>
+#scroller {
+ background: url('../resources/apple.jpg') local;
+ border: 10px solid rgba(0, 255, 0, 0.5);
+ overflow: scroll;
+ padding: 10px;
+ width: 200px;
+ height: 200px;
+}
+
+.spacer {
+ height: 300px;
+}
+</style>
+<!-- This scroller has a locally attached background image which should
+ scroll with the content. -->
+<div id="scroller">
+ <div class="spacer"></div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698