зеркало из https://github.com/mozilla/pjs.git
36 строки
655 B
HTML
36 строки
655 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
div { width: 0 }
|
|
option { white-space: normal }
|
|
optgroup { white-space: normal }
|
|
* { -moz-appearance: none }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<select>
|
|
<optgroup>
|
|
<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>
|
|
</optgroup>
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<select size="3">
|
|
<optgroup>
|
|
<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>
|
|
</optgroup>
|
|
</select>
|
|
<div>
|
|
</body>
|
|
</html>
|
|
|
|
|