| Index: LayoutTests/paint/invalidation/spv2/inline-block-resize.html
|
| diff --git a/LayoutTests/fast/repaint/inline-block-resize.html b/LayoutTests/paint/invalidation/spv2/inline-block-resize.html
|
| similarity index 60%
|
| copy from LayoutTests/fast/repaint/inline-block-resize.html
|
| copy to LayoutTests/paint/invalidation/spv2/inline-block-resize.html
|
| index 64e40d47fd93f17716ecbe4f6be29c5ae326f7aa..4e08cbb534e053eced7ead6bb6391740816ef888 100644
|
| --- a/LayoutTests/fast/repaint/inline-block-resize.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/inline-block-resize.html
|
| @@ -1,12 +1,19 @@
|
| +<!-- Based on fast/repaint/inline-block-resize.html -->
|
| <html>
|
| <head>
|
| <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12885</title>
|
| <style type="text/css">
|
|
|
| </style>
|
| - <script src="resources/text-based-repaint.js" type="text/javascript"></script>
|
| + <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
|
| <script>
|
| - function repaintTest()
|
| + window.expectedPaintInvalidationObjects = [
|
| + "RootInlineBox",
|
| + "InlineBox",
|
| + "LayoutBlockFlow (positioned) DIV",
|
| + "LayoutBlockFlow DIV id='target'",
|
| + ];
|
| + function paintInvalidationTest()
|
| {
|
| document.getElementById('target').style.width = '100px';
|
| document.getElementById('target').style.height = '100px';
|
| @@ -14,7 +21,7 @@
|
| }
|
| </script>
|
| </head>
|
| -<body onload="runRepaintTest();">
|
| +<body onload="runPaintInvalidationTest();">
|
| <div style="position:absolute; height:100px; width:100px;background-color:red"></div>
|
| <div style="padding-top:100px"></div>
|
| <div style="position:absolute"><div id="target" style="display:inline-block; background-color:green"></div></div>
|
|
|