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

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: Cleanup. Created 6 years, 2 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: 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..ec165c17f18b118befb91e95f09a2eeabf851be8
--- /dev/null
+++ b/LayoutTests/fast/repaint/background-image-paint-invalidation-large-abspos-div.html
@@ -0,0 +1,18 @@
+<!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() {
+ requestAnimationFrame(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