CLOSED TREE: TraceMonkey merge head. (a=blockers)
[mozilla-central.git] / layout / reftests / bugs / 315920-6.html
blobd1cc73738e1ec8a26d60d3b03ca9edfb18b70a49
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 option {color: red}
6 option[selected] {color: green}
7 option[selected]:default + option {color: green}
8 </style>
9 </head>
10 <body onload='var elem = document.getElementById("one");
11 elem.setAttribute("selected", "selected");'>
12 <select size="2">
13 <option id="one">Should be no red</option>
14 <option id="two">Should be no red</option>
15 </select>
16 </body>
17 </html>