| Index: LayoutTests/paint/invalidation/spv2/background-shorthand-with-gradient-and-height-changes.html
|
| diff --git a/LayoutTests/fast/repaint/background-shorthand-with-gradient-and-height-changes.html b/LayoutTests/paint/invalidation/spv2/background-shorthand-with-gradient-and-height-changes.html
|
| similarity index 63%
|
| copy from LayoutTests/fast/repaint/background-shorthand-with-gradient-and-height-changes.html
|
| copy to LayoutTests/paint/invalidation/spv2/background-shorthand-with-gradient-and-height-changes.html
|
| index 075cb110807d29513246137142caefa22edf5940..5edb167955009c62d9a329e7c90c6354e3aa1417 100644
|
| --- a/LayoutTests/fast/repaint/background-shorthand-with-gradient-and-height-changes.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/background-shorthand-with-gradient-and-height-changes.html
|
| @@ -1,6 +1,7 @@
|
| +<!-- Based on fast/repaint/background-shorthand-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 {
|
| @@ -22,12 +23,16 @@
|
| <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 = 300 + 'px';
|
| }
|
| </script>
|
| </head>
|
| -<body onload='runRepaintTest();'>
|
| +<body onload='runPaintInvalidationTest();'>
|
| <div id='outer'>
|
| <div id='inner'>
|
| </div>
|
|
|