| Index: LayoutTests/paint/invalidation/spv2/horizontal-bt-overflow-child.html
|
| diff --git a/LayoutTests/fast/repaint/horizontal-bt-overflow-child.html b/LayoutTests/paint/invalidation/spv2/horizontal-bt-overflow-child.html
|
| similarity index 75%
|
| copy from LayoutTests/fast/repaint/horizontal-bt-overflow-child.html
|
| copy to LayoutTests/paint/invalidation/spv2/horizontal-bt-overflow-child.html
|
| index cbbc84ba7f1fe5b798f5405be4817300920204b9..4efe5c372436b850097660e405d1d675dff34e44 100644
|
| --- a/LayoutTests/fast/repaint/horizontal-bt-overflow-child.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/horizontal-bt-overflow-child.html
|
| @@ -1,3 +1,4 @@
|
| +<!-- Based on fast/repaint/horizontal-bt-overflow-child.html -->
|
| <!DOCTYPE html>
|
| <html><head>
|
| <style>
|
| @@ -31,17 +32,20 @@
|
| </div></div>
|
| An orange rect should be painted.<br/>
|
| In DumpRenderTree, there should be repaint logs of 100x100 rect. We don't care how many times is the log dumpped.
|
| - <script src="../../resources/run-after-layout-and-paint.js"></script>
|
| - <script src="resources/text-based-repaint.js"></script>
|
| + <script src="../../../resources/run-after-layout-and-paint.js"></script>
|
| + <script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| - repaintTest = function() {
|
| + window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow DIV class='target'",
|
| + ];
|
| + function paintInvalidationTest() {
|
| var target = document.getElementsByClassName("target")[0];
|
| target.style.visibility = "visible";
|
| };
|
| var container = document.getElementsByClassName("container")[0];
|
| runAfterLayoutAndPaint(function() {
|
| container.scrollTop = 3000;
|
| - runRepaintTest();
|
| + runPaintInvalidationTest();
|
| });
|
| </script>
|
| </body></html>
|
|
|