| Index: LayoutTests/paint/invalidation/spv2/selection-clear-after-move.html
|
| diff --git a/LayoutTests/fast/repaint/selection-clear-after-move.html b/LayoutTests/paint/invalidation/spv2/selection-clear-after-move.html
|
| similarity index 61%
|
| copy from LayoutTests/fast/repaint/selection-clear-after-move.html
|
| copy to LayoutTests/paint/invalidation/spv2/selection-clear-after-move.html
|
| index b8ee0d6e61abf0b6ef05686f4b1b380473033726..2215a49cb55e993b253ce35d1a886d1829fe8f2f 100644
|
| --- a/LayoutTests/fast/repaint/selection-clear-after-move.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/selection-clear-after-move.html
|
| @@ -1,15 +1,19 @@
|
| +<!-- Based on fast/repaint/selection-clear-after-move.html -->
|
| <!DOCTYPE html>
|
| -<script src="../../resources/run-after-layout-and-paint.js"></script>
|
| -<script src="resources/text-based-repaint.js"></script>
|
| +<script src="../../../fast/repaint/../../resources/run-after-layout-and-paint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| -function repaintTest() {
|
| +window.expectedPaintInvalidationObjects = [
|
| + "LayoutImage IMG",
|
| +];
|
| +function paintInvalidationTest() {
|
| getSelection().removeAllRanges();
|
| }
|
| onload = function() {
|
| getSelection().selectAllChildren(document.getElementById('div'));
|
| runAfterLayoutAndPaint(function() {
|
| document.getElementById('div').style.top = '300px';
|
| - runRepaintTest();
|
| + runPaintInvalidationTest();
|
| });
|
| };
|
| </script>
|
|
|