| Index: LayoutTests/paint/invalidation/spv2/background-resize-height.html
|
| diff --git a/LayoutTests/fast/repaint/background-resize-height.html b/LayoutTests/paint/invalidation/spv2/background-resize-height.html
|
| similarity index 51%
|
| copy from LayoutTests/fast/repaint/background-resize-height.html
|
| copy to LayoutTests/paint/invalidation/spv2/background-resize-height.html
|
| index 1117a9d707493b3ab4fd5bd2064399f21c2b1bdb..92a0982c2ffa9aa7d94856d0d4f4f91270c78172 100644
|
| --- a/LayoutTests/fast/repaint/background-resize-height.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/background-resize-height.html
|
| @@ -1,11 +1,39 @@
|
| +<!-- Based on fast/repaint/background-resize-height.html -->
|
| <!DOCTYPE html>
|
| -<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()
|
| +if (window.testRunner)
|
| + testRunner.dumpAsTextWithPixelResults();
|
| +window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow (positioned) DIV id='container'",
|
| + "LayoutBlockFlow (positioned) DIV class='test image'",
|
| + "LayoutBlockFlow (positioned) DIV class='test image size-cover'",
|
| + "LayoutBlockFlow (positioned) DIV class='test image size-contain'",
|
| + "LayoutBlockFlow (positioned) DIV class='test image fixed-height'",
|
| + "LayoutBlockFlow (positioned) DIV class='test image percent-height'",
|
| + "LayoutBlockFlow (positioned) DIV class='test image top'",
|
| + "LayoutBlockFlow (positioned) DIV class='test image bottom'",
|
| + "LayoutBlockFlow (positioned) DIV class='test image center'",
|
| + "LayoutBlockFlow (positioned) DIV class='test image no-repeat'",
|
| + "LayoutBlockFlow (positioned) DIV class='test image repeat-space'",
|
| + "LayoutBlockFlow (positioned) DIV class='test image repeat-round'",
|
| + "LayoutBlockFlow (positioned) DIV class='test generated'",
|
| + "LayoutBlockFlow (positioned) DIV class='test generated cover'",
|
| + "LayoutBlockFlow (positioned) DIV class='test generated contain'",
|
| + "LayoutBlockFlow (positioned) DIV class='test generated fixed-height'",
|
| + "LayoutBlockFlow (positioned) DIV class='test generated percent-height'",
|
| + "LayoutBlockFlow (positioned) DIV class='test generated top'",
|
| + "LayoutBlockFlow (positioned) DIV class='test generated bottom'",
|
| + "LayoutBlockFlow (positioned) DIV class='test generated center'",
|
| + "LayoutBlockFlow (positioned) DIV class='test generated no-repeat'",
|
| + "LayoutBlockFlow (positioned) DIV class='test generated repeat-space'",
|
| + "LayoutBlockFlow (positioned) DIV class='test generated repeat-round'",
|
| +];
|
| +function paintInvalidationTest()
|
| {
|
| document.getElementById('container').style.height = '550px';
|
| }
|
| -window.onload = runRepaintTest;
|
| +window.onload = runPaintInvalidationTest;
|
| </script>
|
| <style>
|
| #container {
|
| @@ -20,7 +48,7 @@ window.onload = runRepaintTest;
|
| height: 8%;
|
| }
|
| .image {
|
| - background-image: url(resources/small-apple.jpg);
|
| + background-image: url(../../../fast/repaint/resources/small-apple.jpg);
|
| top: 0px;
|
| }
|
| .generated {
|
|
|