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 optgroup {color: red}
6 optgroup[disabled]:disabled {color: red}
7 optgroup:not([disabled]):not(:disabled) + optgroup {color: green}
8 optgroup:not(:disabled) {color: green}
9 </style>
10 </head>
11 <body onload='document.getElementById("ogone").removeAttribute("disabled");'>
12 <select size="2">
13 <optgroup id="ogone" label="There should be no red" disabled="disabled">
14 </optgroup>
15 <optgroup id="ogtwo" label="There should be no red">
16 </optgroup>
17 </select>
18 </body>
19 </html>