| Index: LayoutTests/paint/invalidation/spv2/outline-change-offset.html
|
| diff --git a/LayoutTests/fast/repaint/outline-change-offset.html b/LayoutTests/paint/invalidation/spv2/outline-change-offset.html
|
| similarity index 57%
|
| copy from LayoutTests/fast/repaint/outline-change-offset.html
|
| copy to LayoutTests/paint/invalidation/spv2/outline-change-offset.html
|
| index c044619f167677a16330b5246c494feef614fd31..65269cfbc753f3dd2e5e4817901b75f082096a79 100644
|
| --- a/LayoutTests/fast/repaint/outline-change-offset.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/outline-change-offset.html
|
| @@ -1,10 +1,15 @@
|
| +<!-- Based on fast/repaint/outline-change-offset.html -->
|
| <!DOCTYPE html>
|
| -<script src="resources/text-based-repaint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| -function repaintTest() {
|
| +window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow (positioned) DIV id='indicator'",
|
| + "LayoutBlockFlow (positioned) DIV id='target'",
|
| +];
|
| +function paintInvalidationTest() {
|
| document.getElementById('target').style.outlineOffset = '10px';
|
| }
|
| -onload = runRepaintTest;
|
| +onload = runPaintInvalidationTest;
|
| </script>
|
|
|
| <style>
|
| @@ -24,6 +29,7 @@ div {
|
| #indicator {
|
| outline: red solid 5px;
|
| outline-offset: 10px;
|
| +}
|
| </style>
|
|
|
| Box should be repainted when outline-offset style changes. Passes if no red.
|
|
|