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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/315920-29a.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <style>
     1.8 +      optgroup {color: red}
     1.9 +      optgroup[disabled]:disabled {color: red}
    1.10 +      optgroup:not([disabled]):not(:disabled) + optgroup {color: green}
    1.11 +      optgroup:not(:disabled) {color: green}
    1.12 +    </style>
    1.13 +  </head>
    1.14 +  <body onload='document.getElementById("ogone").removeAttribute("disabled");'>
    1.15 +    <select size="2">
    1.16 +      <optgroup id="ogone" label="There should be no red" disabled="disabled">
    1.17 +      </optgroup>
    1.18 +      <optgroup id="ogtwo" label="There should be no red">
    1.19 +      </optgroup>
    1.20 +    </select>
    1.21 +  </body>
    1.22 +</html>

mercurial