mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Style <select multiple> appropriately.
This commit is contained in:
parent
d7b8751709
commit
9ed0ae4a7a
2 changed files with 32 additions and 4 deletions
23
tests/html/select.html
Normal file
23
tests/html/select.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<select>
|
||||
<option>hi</option>
|
||||
<option>hi2</option>
|
||||
<option selected>hi to you too!</option>
|
||||
<option>again, again!</option>
|
||||
<option>and one more</option>
|
||||
</select>
|
||||
<br><br>
|
||||
<select multiple>
|
||||
<option>hi</option>
|
||||
<option>hi2</option>
|
||||
<option selected>hi to you too!</option>
|
||||
<option selected>again, again!</option>
|
||||
<option>and one more</option>
|
||||
</select>
|
||||
<select multiple>
|
||||
<option>hi</option>
|
||||
<option>hi2</option>
|
||||
<option selected>hi to you too!</option>
|
||||
<option selected>again, again!</option>
|
||||
<option>and one more</option>
|
||||
</select>
|
||||
<script>document.getElementsByTagName('select')[1].focus()</script>
|
Loading…
Add table
Add a link
Reference in a new issue