<html>
<head>
<script>

/*

Tests whether the slider thumb moves to the new position when input element's
value is updated.

*/

if (window.testRunner)
    testRunner.waitUntilDone();

function runTest()
{
    setTimeout(function()
    {
        document.getElementById('slider').value = 100;
        if (window.testRunner)
            testRunner.notifyDone();
    }, 0);
}

</script>
</head>
<body onload="runTest()">
<input id="slider" type="range" value="0">
</body>
</html>
