| Index: LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-descendants.html
|
| diff --git a/LayoutTests/compositing/repaint/should-not-repaint-composited-descendants.html b/LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-descendants.html
|
| similarity index 61%
|
| copy from LayoutTests/compositing/repaint/should-not-repaint-composited-descendants.html
|
| copy to LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-descendants.html
|
| index 19c4a735a8ec1336b5419709f8a01e0864a09969..ce3ebc811165cb47b2d4d25f56ce31d87f9a7fba 100644
|
| --- a/LayoutTests/compositing/repaint/should-not-repaint-composited-descendants.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-descendants.html
|
| @@ -1,3 +1,4 @@
|
| +<!-- Based on compositing/repaint/should-not-repaint-composited-descendants.html -->
|
| <!DOCTYPE html>
|
| <style>
|
| #composited-box {
|
| @@ -15,13 +16,18 @@
|
| backface-visibility: hidden;
|
| }
|
| </style>
|
| -<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| -function repaintTest() {
|
| +window.expectedPaintInvalidationObjects = [
|
| + "##ALL##",
|
| + "LayoutBlockFlow (positioned) DIV id='composited-box'",
|
| + "LayoutBlockFlow DIV class='child'",
|
| +];
|
| +function paintInvalidationTest() {
|
| // This will cause a full layer repaint, but should not include the composited child.
|
| document.getElementById('composited-box').style.clip = 'rect(30px, 120px, 120px, 30px)';
|
| }
|
| -window.onload = runRepaintTest;
|
| +window.onload = runPaintInvalidationTest;
|
| </script>
|
| <div id="composited-box">
|
| <div class="child"></div>
|
|
|