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> |