| Index: LayoutTests/paint/invalidation/spv2/background-size-auto-with-gradient-and-height-changes.html
|
| diff --git a/LayoutTests/fast/repaint/background-size-auto-with-gradient-and-height-changes.html b/LayoutTests/paint/invalidation/spv2/background-size-auto-with-gradient-and-height-changes.html
|
| similarity index 61%
|
| copy from LayoutTests/fast/repaint/background-size-auto-with-gradient-and-height-changes.html
|
| copy to LayoutTests/paint/invalidation/spv2/background-size-auto-with-gradient-and-height-changes.html
|
| index f70cb3237ca6f179340ebd97f88b89e4a8878aee..a942cb946c1c77a0b34db5e597e16454f4addbeb 100644
|
| --- a/LayoutTests/fast/repaint/background-size-auto-with-gradient-and-height-changes.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/background-size-auto-with-gradient-and-height-changes.html
|
| @@ -1,6 +1,7 @@
|
| +<!-- Based on fast/repaint/background-size-auto-with-gradient-and-height-changes.html -->
|
| <html>
|
| <head>
|
| -<script src="resources/text-based-repaint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
|
|
| <style>
|
| #outer {
|
| @@ -21,13 +22,17 @@
|
|
|
| <script>
|
| // This test verifies that gradient background gets repainted properly after child box height change.
|
| -function repaintTest() {
|
| +window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow DIV id='outer'",
|
| + "LayoutBlockFlow DIV id='inner'",
|
| +];
|
| +function paintInvalidationTest() {
|
| document.getElementById('inner').style.height = '300px';
|
| }
|
| </script>
|
| </head>
|
|
|
| -<body onload='runRepaintTest();'>
|
| +<body onload='runPaintInvalidationTest();'>
|
| <div id='outer'>
|
| <div id='inner'>
|
| </div>
|
|
|