blob: de660722c64f4bcb8a637124decd35b4ec134b11 [file] [log] [blame]
<body>
<p>This is a regression test for https://bugs.webkit.org/show_bug.cgi?id=50434. It verifies that a marquee does not animate when scrollAmount is set to 0 by script.</p>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
var marquee = document.createElement("marquee");
marquee.innerHTML = "Test";
marquee.width = "100px";
marquee.scrollDelay = 0;
document.body.appendChild(marquee);
setTimeout(function() {
marquee.scrollAmount = 0;
if (window.testRunner) {
setTimeout(function() {
testRunner.notifyDone();
}, 55);
}
}, 0);
</script>