1 <!-- Based on fast/repaint/background-size-auto-with-gradient-and-height-changes.html -->
4 <script src=
"resources/paint-invalidation-test.js"></script>
9 background: -webkit-gradient(
13 color-stop(
0%, rgba(
255,
255,
0,
0)), color-stop(
100%, rgba(
0,
0,
0,
1))
15 background-size: auto;
24 // This test verifies that gradient background gets repainted properly after child box height change.
25 window
.expectedPaintInvalidationObjects
= [
26 "LayoutBlockFlow DIV id='outer'",
27 "LayoutBlockFlow DIV id='inner'",
29 function paintInvalidationTest() {
30 document
.getElementById('inner').style
.height
= '300px';
35 <body onload='runPaintInvalidationTest();'
>