blob: 650be175c775e26b34a51598aa3e3e21ab56e2c5 [file] [log] [blame]
<!--- Verify that a large drop-down paints properly when scrolling it with the mousewheel -->
<script>
window.onload = function() {
var frag = document.createDocumentFragment();
for (var i = 0; i < 100; i++) {
var opt = document.createElement('option');
opt.textContent = 'option ' + i;
frag.appendChild(opt);
}
var select = document.querySelector('select');
select.appendChild(frag);
}
</script>
<select></select>