https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 24524f3e0a1fa5e12c2a828172560f9c498a72f4 authored by ffxbld on 16 September 2015, 16:39:07 UTC
Added FIREFOX_38_3_0esr_RELEASE FIREFOX_38_3_0esr_BUILD2 tag(s) for changeset 7b1115ea78f7. DONTBUILD CLOSED TREE a=release
Tip revision: 24524f3
textarea-customerror.html
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <script>
      function doTest() {
        document.getElementById('t').setCustomValidity('foo');
        document.documentElement.className='';
      }
      document.addEventListener("MozReftestInvalidate", doTest, false);
    </script>
  </head>
  <!-- Test: if textarea has a custom error, it should be affected by :invalid
             pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body>
    <textarea class='invalid' id='t'></textarea>
  </body>
</html>
back to top