https://github.com/mozilla/gecko-dev
Raw File
Tip revision: db03bcd79f34b3e41a0eca7bc1bc8729459a8258 authored by ffxbld on 09 January 2015, 04:22:48 UTC
Added FIREFOX_35_0_RELEASE FIREFOX_35_0_BUILD3 tag(s) for changeset 32e36869f84a. DONTBUILD CLOSED TREE a=release
Tip revision: db03bcd
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