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