https://github.com/mozilla/gecko-dev
Raw File
Tip revision: bb63cc2f6690ee447fc9bef820c7aaa2573b41c1 authored by ffxbld on 16 March 2016, 00:04:17 UTC
Added FENNEC_45_0_1_RELEASE FENNEC_45_0_1_BUILD1 tag(s) for changeset 2a5af03a7b3e. DONTBUILD CLOSED TREE a=release
Tip revision: bb63cc2
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