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

Unified Diff: LayoutTests/fast/repaint/background-image-paint-invalidation-large-abspos-div.html

Issue 683373002: Invalidate the frame view when changing the background image of the document or body. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Created 6 years, 1 month 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: LayoutTests/fast/repaint/background-image-paint-invalidation-large-abspos-div.html
diff --git a/LayoutTests/fast/repaint/background-image-paint-invalidation-large-abspos-div.html b/LayoutTests/fast/repaint/background-image-paint-invalidation-large-abspos-div.html
new file mode 100644
index 0000000000000000000000000000000000000000..5e997e634b156d7552b968c3af549cb11b84dccf
--- /dev/null
+++ b/LayoutTests/fast/repaint/background-image-paint-invalidation-large-abspos-div.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<body>
+ <div style="position: absolute; height:4000px; width: 100px;"></div>
+</body>
+<img src="resources/ducky.png"></img>
+<script>
+if (window.testRunner)
+ window.testRunner.waitUntilDone();
+window.onload = function() {
+ document.body.style.background = 'url(resources/ducky.png)';
+ window.scrollTo(0, 3000);
+ if (window.testRunner)
+ testRunner.notifyDone();
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698