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