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

Unified Diff: LayoutTests/fast/scrolling/non-composited-scrolling-repaint-local-background.html

Issue 460883002: Non-composited scrolling div should invalidate when it has descendant paints to its backing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline Created 6 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: LayoutTests/fast/scrolling/non-composited-scrolling-repaint-local-background.html
diff --git a/LayoutTests/fast/scrolling/non-composited-scrolling-repaint-local-background.html b/LayoutTests/fast/scrolling/non-composited-scrolling-repaint-local-background.html
new file mode 100644
index 0000000000000000000000000000000000000000..1cb42ec1f8c82bb07e920cf54bdab1ae582c2fb8
--- /dev/null
+++ b/LayoutTests/fast/scrolling/non-composited-scrolling-repaint-local-background.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<style>
+#container {
+ overflow: scroll;
+ width: 400px;
+ height: 300px;
+ background: linear-gradient(black, white);
+ background-attachment: local;
+}
+
+#bloat {
+ height: 1000px;
+ transform: translateZ(0);
+}
+</style>
+<div id="container">
+ <div id="bloat"></div>
+</div>
+<script>
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.displayAsyncThen(function() {
+ document.getElementById('container').scrollTop = 1000;
+ testRunner.notifyDone();
+ });
+ }
+</script>

Powered by Google App Engine
This is Rietveld 408576698