summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-valid/button/button-dyn-not-disabled.html
blob: 671573cc3ee09805f9c65ec3cc2fa5536f8a03f7 (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: if button is not disabled, it is candidate for constraint validation
             and should be affected by :valid pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body onload="document.getElementById('b').removeAttribute('disabled'); document.documentElement.className='';">
    <button class='valid' id='b' disabled></button>
  </body>
</html>