https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 958e6d9bcc78482a0774e941bfb1253ef628364b authored by seabld on 15 June 2012, 11:54:31 UTC
Added tag SEAMONKEY_2_10_1_RELEASE for changeset FIREFOX_13_0_1_BUILD1. CLOSED TREE a=release
Tip revision: 958e6d9
315920-1b.html
<!DOCTYPE html>
<html>
  <head>
    <style>
      option {color: blue}
      option:disabled {color: green}
      option#one:not([disabled]):enabled + option#two {color: red}
    </style>
  </head>
  <body onload='var elem = document.getElementById("one");
                elem.setAttribute("disabled", "disabled");'>
    <select size="2">
      <option id="one">Should be green</option>
      <option id="two">Should be blue</option>
    </select>
  </body>
</html>
back to top