aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-10-04 12:49:26 -0600
committerbors-servo <metajack+bors@gmail.com>2015-10-04 12:49:26 -0600
commit460f067b9da42cf7663f22428547b81f43ea60c1 (patch)
tree747ce186aad78d7c11ee09b10a7eb36ed9d41c73 /tests
parent9eb0effaf674da0f24eb5e0ae8e290c9648598de (diff)
parent9ed0ae4a7a4d6aec14f8d42597459b52b8e6a4d4 (diff)
downloadservo-460f067b9da42cf7663f22428547b81f43ea60c1.tar.gz
servo-460f067b9da42cf7663f22428547b81f43ea60c1.zip
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 -->
Diffstat (limited to 'tests')
-rw-r--r--tests/html/select.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/html/select.html b/tests/html/select.html
new file mode 100644
index 00000000000..83b089baa1b
--- /dev/null
+++ b/tests/html/select.html
@@ -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>