| Index: LayoutTests/paint/invalidation/spv2/invalidate-invisible-element.html
|
| diff --git a/LayoutTests/fast/repaint/invalidate-invisible-element.html b/LayoutTests/paint/invalidation/spv2/invalidate-invisible-element.html
|
| similarity index 61%
|
| copy from LayoutTests/fast/repaint/invalidate-invisible-element.html
|
| copy to LayoutTests/paint/invalidation/spv2/invalidate-invisible-element.html
|
| index 89ce676d060c12f2deeccf51b78c2c15d97db05f..26fe0f1a1370be480d0f8cb2d156bc091266ee60 100644
|
| --- a/LayoutTests/fast/repaint/invalidate-invisible-element.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/invalidate-invisible-element.html
|
| @@ -1,13 +1,17 @@
|
| +<!-- Based on fast/repaint/invalidate-invisible-element.html -->
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| - <script src="resources/text-based-repaint.js" type="text/javascript"></script>
|
| + <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
|
| <script type="text/javascript">
|
| window.onload = function() {
|
| - runRepaintTest();
|
| + runPaintInvalidationTest();
|
| };
|
|
|
| - function repaintTest() {
|
| + window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow (positioned) DIV id='target'",
|
| + ];
|
| + function paintInvalidationTest() {
|
| var target = document.getElementById('target');
|
| target.style.visibility = 'visible';
|
| getComputedStyle(target).color;
|
|
|