28 lines
692 B
HTML
28 lines
692 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
|
|
</style>
|
|
|
|
<script type="text/javascript">
|
|
onload = function() {
|
|
var selectList = document.getElementById("list");
|
|
selectList.scrollTop = 84;
|
|
}
|
|
</script>
|
|
|
|
<body style="font: 16px/16px monospace;">
|
|
<p>Scrolling inside the list using the mouse wheel should work as expected<br/>
|
|
<select id="list" size="2">
|
|
<option>content1</option>
|
|
<option>content2</option>
|
|
<option>content3</option>
|
|
<option>content4</option>
|
|
<option>content5</option>
|
|
<option>content6</option>
|
|
<option>content7</option>
|
|
<option>content8</option>
|
|
<option>content9</option>
|
|
<option>content10</option>
|
|
</select>
|
|
</body>
|