| Index: LayoutTests/paint/invalidation/spv2/repaint-via-layout-offset.html
|
| diff --git a/LayoutTests/compositing/squashing/repaint-via-layout-offset.html b/LayoutTests/paint/invalidation/spv2/repaint-via-layout-offset.html
|
| similarity index 64%
|
| copy from LayoutTests/compositing/squashing/repaint-via-layout-offset.html
|
| copy to LayoutTests/paint/invalidation/spv2/repaint-via-layout-offset.html
|
| index 0ef96112aa7dcd5284f4add93c0c0ccb291621b6..43e1df9b04991b21f46bd2ecd507e36cefadb1aa 100644
|
| --- a/LayoutTests/compositing/squashing/repaint-via-layout-offset.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/repaint-via-layout-offset.html
|
| @@ -1,5 +1,6 @@
|
| +<!-- Based on compositing/squashing/repaint-via-layout-offset.html -->
|
| <!DOCTYPE html>
|
| -<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
| <style>
|
| #container {
|
| position: absolute;
|
| @@ -27,8 +28,11 @@
|
| <span class="child"></span>
|
| </div>
|
| <script>
|
| -function repaintTest() {
|
| +window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow (positioned) SPAN class='child embiggen'",
|
| +];
|
| +function paintInvalidationTest() {
|
| document.querySelectorAll('.child')[1].classList.add('embiggen');
|
| }
|
| -runRepaintTest();
|
| +runPaintInvalidationTest();
|
| </script>
|
|
|