summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valid/input/input-dyn-not-disabled.html
blob: 1f693b4f7deed84f506af76a2c2fbb716029ba34 (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: if input 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('i').removeAttribute('disabled'); document.documentElement.className='';">
    <input class='valid' id='i' disabled>
  </body>
</html>