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

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

Issue 2266103002: Repaint when background switches painting from/to scrolling contents layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master. 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/paint/invalidation/composited-overflow-local-background-removed.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-local-background-removed.html
similarity index 69%
copy from third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-with-local-background.html
copy to third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-local-background-removed.html
index 1f3dd06c2d6ad1ec10dff7363459d535f0858608..88a390095c81fdbe719e9745eecedd773635a65b 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-with-local-background.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-local-background-removed.html
@@ -2,13 +2,12 @@
<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
- scroller.style.background = 'green local';
+ scroller.style.background = '';
}
onload = runRepaintAndPixelTest;
</script>
<style>
#scroller {
- background: red local;
overflow: scroll;
width: 200px;
height: 200px;
@@ -20,7 +19,8 @@ onload = runRepaintAndPixelTest;
}
</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">
+ scrolling contents layer. When the color is removed it should be cleared. -->
+<div id="scroller" style="background: red local;">
+ <p>Content</p>
<div class="spacer"></div>
</div>

Powered by Google App Engine
This is Rietveld 408576698