| Index: LayoutTests/paint/invalidation/spv2/overflow-hidden-in-overflow-hidden-scrolled.html
|
| diff --git a/LayoutTests/fast/repaint/overflow-hidden-in-overflow-hidden-scrolled.html b/LayoutTests/paint/invalidation/spv2/overflow-hidden-in-overflow-hidden-scrolled.html
|
| similarity index 68%
|
| copy from LayoutTests/fast/repaint/overflow-hidden-in-overflow-hidden-scrolled.html
|
| copy to LayoutTests/paint/invalidation/spv2/overflow-hidden-in-overflow-hidden-scrolled.html
|
| index e9876d529c00cb98f4ed54d8691445f44679ea57..3db0aef21413e1113103f93324a6551e489b3d92 100644
|
| --- a/LayoutTests/fast/repaint/overflow-hidden-in-overflow-hidden-scrolled.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/overflow-hidden-in-overflow-hidden-scrolled.html
|
| @@ -1,7 +1,8 @@
|
| +<!-- Based on fast/repaint/overflow-hidden-in-overflow-hidden-scrolled.html -->
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| - <link rel="stylesheet" href="resources/default.css">
|
| + <link rel="stylesheet" href="../../../fast/repaint/resources/default.css">
|
| <style>
|
| #outer {
|
| position: relative;
|
| @@ -30,9 +31,14 @@
|
| background-color: green;
|
| }
|
| </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='innerWrapper'",
|
| + "LayoutBlockFlow DIV class='red'",
|
| + "LayoutBlockFlow DIV id='ucp' class='green'",
|
| + ];
|
| + function paintInvalidationTest()
|
| {
|
| window.location.hash = "#ucp";
|
| }
|
| @@ -40,7 +46,7 @@
|
| function runTest()
|
| {
|
| document.getElementById("outer").scrollTop = 1000;
|
| - runRepaintTest();
|
| + runPaintInvalidationTest();
|
| }
|
| </script>
|
| </head>
|
|
|