layout/reftests/bugs/315920-1a.html

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:35140168e97a
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 option {color: blue}
6 option:disabled {color: green}
7 option#one:not([disabled]):not(:disabled) + option#two {color: red}
8 </style>
9 </head>
10 <body onload='var elem = document.getElementById("one");
11 elem.setAttribute("disabled", "disabled");'>
12 <select size="2">
13 <option id="one">Should be green</option>
14 <option id="two">Should be blue</option>
15 </select>
16 </body>
17 </html>

mercurial