summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-valid/button/button-dyn-disabled.html
blob: 00c07034e184d3bc8f6f930bde22caa897c39793 (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: if button is disabled, it is barred from constraint validation
             and should not be affected by :-moz-ui-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>