bzbarsky%mit.edu 103775a0c5 Don't do arithmetic with unconstrained widths when reflowing comboboxes. Bug
363858, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@240280 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 06:41:39 +00:00

31 lines
568 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
div { width: 0 }
option { white-space: normal }
* { -moz-appearance: none }
</style>
</head>
<body>
<div>
<select>
<option>This is option one</option>
<option>This is option two</option>
<option>This is option three which is long</option>
<option>This is option four</option>
</select>
</div>
<div>
<select size="3">
<option>This is option one</option>
<option>This is option two</option>
<option>This is option three which is long</option>
<option>This is option four</option>
</select>
<div>
</body>
</html>