summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valid/button/button-dyn-disabled.html
blob: ef3436eb64562ed89980471d50ca63303c881bdb (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 :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>