| Index: LayoutTests/paint/invalidation/spv2/should-not-clip-composited-overflow-scrolling-layer.html
|
| diff --git a/LayoutTests/compositing/repaint/should-not-clip-composited-overflow-scrolling-layer.html b/LayoutTests/paint/invalidation/spv2/should-not-clip-composited-overflow-scrolling-layer.html
|
| similarity index 67%
|
| copy from LayoutTests/compositing/repaint/should-not-clip-composited-overflow-scrolling-layer.html
|
| copy to LayoutTests/paint/invalidation/spv2/should-not-clip-composited-overflow-scrolling-layer.html
|
| index 7da12d655aebb52a5c8ffc9c71fb2a4c9267a640..dad62981900880c53c281c6e3e53e79ab7779293 100644
|
| --- a/LayoutTests/compositing/repaint/should-not-clip-composited-overflow-scrolling-layer.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/should-not-clip-composited-overflow-scrolling-layer.html
|
| @@ -1,15 +1,22 @@
|
| +<!-- Based on compositing/repaint/should-not-clip-composited-overflow-scrolling-layer.html -->
|
| <!DOCTYPE HTML>
|
| -<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| if (window.internals)
|
| internals.settings.setPreferCompositingToLCDTextEnabled(true);
|
| -function repaintTest() {
|
| +window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow DIV id='content'",
|
| + "LayoutBlockFlow DIV id='content'",
|
| + "##ALL##",
|
| + "##ALL##",
|
| +];
|
| +function paintInvalidationTest() {
|
| document.getElementById('content').style.backgroundColor = 'green';
|
| var container = document.getElementById('container');
|
| container.scrollLeft = 2000;
|
| container.scrollTop = 2000;
|
| }
|
| -window.onload = runRepaintTest;
|
| +window.onload = runPaintInvalidationTest;
|
| </script>
|
| <style>
|
| #container {
|
|
|