haikuwebkit/LayoutTests/fast/forms/select-change-listbox-to-po...

12 lines
293 B
HTML

<html>
<head>
<script>
function test() {
document.getElementById('sl').size = 1;
}
</script>
</head>
<body onload="test()">
This tests that you can dynamically change a list box to a popup menu<br>
<select size=5 id="sl"><option>This should turn into a popup menu</option></select>
</body>