layout/reftests/css-valid/button/button-dyn-disabled.html
author Andreas Gal<gal@uci.edu>
Wed, 29 Sep 2010 12:28:05 -0700
changeset 54838 94e52cdc2157d5dddbe5bd7f0c999b967248648a
parent 51390 a8a30f226ea6505e9bb950221d21648e41908e6d
permissions -rw-r--r--
Bug 600580 - TM: set right compartment in _newJSDContext r=gregor

<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: if button is disabled, it is barred from constraint validation
             and should not be affected by :valid pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body onload="document.getElementById('b').disabled='true'; document.documentElement.className='';">
    <button class='notvalid' id='b'></button>
  </body>
</html>