<!DOCTYPE html>
<html>
  <!-- Test: if textarea is readonly, it is barred from constraint validation
             and should not be affected by :-moz-ui-invalid pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body>
    <textarea class='notinvalid' readonly></textarea>
  </body>
</html>