| Index: LayoutTests/paint/invalidation/spv2/hover-pseudo-borders-whitespace.html
|
| diff --git a/LayoutTests/fast/repaint/hover-pseudo-borders-whitespace.html b/LayoutTests/paint/invalidation/spv2/hover-pseudo-borders-whitespace.html
|
| similarity index 53%
|
| copy from LayoutTests/fast/repaint/hover-pseudo-borders-whitespace.html
|
| copy to LayoutTests/paint/invalidation/spv2/hover-pseudo-borders-whitespace.html
|
| index be81aa50097c629da6d9e7ed42659094d1ab942e..5b1707fd2f23e2bf2b3ed4093582c96bfd94e9d5 100644
|
| --- a/LayoutTests/fast/repaint/hover-pseudo-borders-whitespace.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/hover-pseudo-borders-whitespace.html
|
| @@ -1,3 +1,4 @@
|
| +<!-- Based on fast/repaint/hover-pseudo-borders-whitespace.html -->
|
| <!doctype html>
|
| <style>
|
|
|
| @@ -20,14 +21,18 @@ div {
|
| }
|
|
|
| </style>
|
| -<script src="resources/text-based-repaint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| - function repaintTest() {
|
| + window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow DIV id='div_border'",
|
| + "LayoutBlockFlow DIV id='div_outline'",
|
| + ];
|
| + function paintInvalidationTest() {
|
| if (!window.testRunner)
|
| return;
|
| eventSender.mouseMoveTo(50, 50);
|
| }
|
| - window.addEventListener("load", runRepaintTest);
|
| + window.addEventListener("load", runPaintInvalidationTest);
|
| </script>
|
| <div id="div_border"></div>
|
| <div id="div_outline"></div>
|
|
|