| Index: LayoutTests/paint/invalidation/spv2/subtree-root-clip.html
|
| diff --git a/LayoutTests/fast/repaint/subtree-root-clip.html b/LayoutTests/paint/invalidation/spv2/subtree-root-clip.html
|
| similarity index 50%
|
| copy from LayoutTests/fast/repaint/subtree-root-clip.html
|
| copy to LayoutTests/paint/invalidation/spv2/subtree-root-clip.html
|
| index 46a2876c632bb88214654db63071b33f91c7c46c..8ea8540ccf771fab4e99f8c71ae67acc058d301d 100644
|
| --- a/LayoutTests/fast/repaint/subtree-root-clip.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/subtree-root-clip.html
|
| @@ -1,15 +1,20 @@
|
| +<!-- Based on fast/repaint/subtree-root-clip.html -->
|
| <!DOCTYPE HTML>
|
| <html>
|
| <head>
|
| - <script src="resources/text-based-repaint.js"></script>
|
| + <script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| - function repaintTest()
|
| + window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow (floating) DIV",
|
| + "LayoutBlockFlow DIV id='inner'",
|
| + ];
|
| + function paintInvalidationTest()
|
| {
|
| document.getElementById("inner").style.width = "0";
|
| }
|
| </script>
|
| </head>
|
| -<body onload="runRepaintTest()">
|
| +<body onload="runPaintInvalidationTest()">
|
| <div style="float: left; overflow: hidden; width: 100px; height: 100px; background-color: green;">
|
| <div id="inner" style="width: 100px; height: 100px; background-color: red;"></div>
|
| </div>
|
|
|