input-dyn-not-readonly-not-changed.html 444 B

12345678910
  1. <!DOCTYPE html>
  2. <html class="reftest-wait">
  3. <!-- Test: if input is no longer readonly and invalid but it's value hasn't
  4. changed, it's affected by :-moz-ui-invalid pseudo-class. -->
  5. <link rel='stylesheet' type='text/css' href='style.css'>
  6. <body onload="document.getElementById('i').removeAttribute('readonly'); document.documentElement.className='';">
  7. <input class='notinvalid' id='i' readonly required>
  8. </body>
  9. </html>