https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 41b2a541f6dca5df6dd71241ccd4f5b09fb4421e authored by ffxbld on 26 July 2016, 20:27:39 UTC
Added FENNEC_48_0_RELEASE FENNEC_48_0_BUILD1 tag(s) for changeset fde5416cb28f. DONTBUILD CLOSED TREE a=release
Tip revision: 41b2a54
textarea-dyn-not-readonly.html
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <script>
      function doTest() {
        document.getElementById('t').removeAttribute('readonly');
        document.documentElement.className='';
      }
      document.addEventListener("MozReftestInvalidate", doTest, false);
    </script>
  </head>
  <!-- Test: if textarea is no longer readonly, it is candidate for constraint
             validation and should be affected by :invalid pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body>
    <textarea class='invalid' id='t' readonly required></textarea>
  </body>
</html>
back to top