https://github.com/mozilla/gecko-dev
Raw File
Tip revision: a098327828ae6c078eebb76a933e981b492761bb authored by ffxbld on 23 January 2013, 16:09:33 UTC
Added FENNEC_19_0b3_RELEASE FENNEC_19_0b3_BUILD1 tag(s) for changeset 44ad9c166d46. DONTBUILD CLOSED TREE a=release
Tip revision: a098327
textarea-dyn-readonly.html
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <script>
      function doTest() {
        document.getElementById('t').readOnly='ro';
        document.documentElement.className='';
      }
      document.addEventListener("MozReftestInvalidate", doTest, false);
    </script>
  </head>
  <!-- Test: if textarea is readonly, it is barred from constraint validation
             and should not be affected by :invalid pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body>
    <textarea class='notinvalid' id='t' required></textarea>
  </body>
</html>
back to top