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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-with-local-background.html

Issue 2235873002: Invalidate scrolling contents layer on background invalidations painted into it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Invalidate entire scrolling contents layer. 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-with-local-background-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-with-local-background.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-with-local-background.html b/third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-with-local-background.html
new file mode 100644
index 0000000000000000000000000000000000000000..1601f63972c99562be5b4144de041cb8622359eb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-with-local-background.html
@@ -0,0 +1,25 @@
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ document.getElementById('scroller').style.background = 'green local';
+}
+onload = runRepaintTest;
+</script>
+<style>
+#scroller {
+ background: red local;
+ overflow: scroll;
+ width: 200px;
+ height: 200px;
+ will-change: transform;
+}
+
+.spacer {
+ height: 300px;
+}
+</style>
+<!-- #scroller has a locally attached background which will be painted into the
+ scrolling contents layer. When the color changes it should repaint. -->
+<div id="scroller">
+ <div class="spacer"></div>
+</div>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-with-local-background-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698