| Index: LayoutTests/paint/invalidation/spv2/hover-pseudo-borders.html
|
| diff --git a/LayoutTests/fast/repaint/hover-pseudo-borders.html b/LayoutTests/paint/invalidation/spv2/hover-pseudo-borders.html
|
| similarity index 68%
|
| copy from LayoutTests/fast/repaint/hover-pseudo-borders.html
|
| copy to LayoutTests/paint/invalidation/spv2/hover-pseudo-borders.html
|
| index ef2f8a3f67683725e5b0447bf4edbc6e2c7cea7c..0b76dffdc44b6857bdc0aa7958536431b791c06f 100644
|
| --- a/LayoutTests/fast/repaint/hover-pseudo-borders.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/hover-pseudo-borders.html
|
| @@ -1,3 +1,4 @@
|
| +<!-- Based on fast/repaint/hover-pseudo-borders.html -->
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| @@ -24,16 +25,21 @@
|
| color: green; /* Changes the right box's color. */
|
| }
|
| </style>
|
| -<script src="resources/text-based-repaint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| -function repaintTest() {
|
| +window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow DIV class='hitregion'",
|
| + "LayoutBlockFlow (positioned) \u003Cpseudo:after\u003E",
|
| + "LayoutTextFragment (anonymous)",
|
| +];
|
| +function paintInvalidationTest() {
|
| if (!window.testRunner)
|
| return;
|
| eventSender.mouseMoveTo(50, 50);
|
| eventSender.mouseDown();
|
| eventSender.mouseUp();
|
| }
|
| -window.addEventListener("load", runRepaintTest);
|
| +window.addEventListener("load", runPaintInvalidationTest);
|
| </script>
|
| </head>
|
| <body>
|
|
|