mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #7847 - jdm:selectstyling, r=Manishearth
Style <select multiple> appropriately. <img width="216" alt="screen shot 2015-10-04 at 2 33 36 pm" src="https://cloud.githubusercontent.com/assets/27658/10269411/ec1b5bce-6aa4-11e5-8ce8-0f22425ea3d4.png"> <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7847) <!-- Reviewable:end -->
This commit is contained in:
commit
460f067b9d
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