<!DOCTYPE HTML>
<head>
    <script type="text/javascript">
        if (window.testRunner)
            testRunner.waitUntilDone();
        function runTest()
        {
            document.getElementById("target").style.height = "200px";
            if (window.testRunner)
                testRunner.notifyDone();
        }
    </script>
</head>
<body onload="setTimeout(runTest, 10);">
    <div style="width: 100px;
                padding-top: 100px;
                background-image: -webkit-gradient(linear, left top, left bottom, from(red), to(blue));
    ">
        <div id="target" style="height: 100px;"></div>
    </div>
</body>
