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