7 optgroup:disabled {color: green}
8 optgroup[disabled]:disabled + optgroup {color: green}
9 optgroup:not(:disabled) {color: red}
10 optgroup[disabled]:disabled
> option:default {color:blue}
11 optgroup:disabled
> option:default ~ option {color:blue}
14 <body onload='document.getElementById(
"ogone").setAttribute(
"disabled",
"disabled");
15 document.getElementById(
"one").setAttribute(
"selected",
"selected");'
>
17 <optgroup id=
"ogone" label=
"There should be no red">
18 <option id=
"one">This should be blue
</option>
19 <option id=
"two">This should be blue
</option>
21 <optgroup id=
"ogtwo" label=
"There should be no red">
22 <option id=
"three">There should be no red
</option>
23 <option id=
"four">There should be no red
</option>