Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 option {color: green}
6 option[selected]:disabled ~ option:not([disabled]):not(:disabled) {color: red}
7 </style>
8 </head>
9 <body onload='var e1 = document.getElementById("one");
10 e1.parentNode.removeChild(e1);
11 document.getElementById("zero").setAttribute("selected", "true");'>
12 <select size="4" id="selection">
13 <option id="zero">Should be no red</option>
14 <option id="one" selected="true" disabled="disabled">Should be no red</option>
15 <option id="two">Should be no red</option>
16 <option id="three">Should be no red</option>
17 </select>
18 </body>
19 </html>