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