https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 2b3c79da6ff5656cd4905dd7ae52801ca8a4cec0 authored by ffxbld on 23 December 2015, 22:04:20 UTC
Added FIREFOX_43_0_3_RELEASE FIREFOX_43_0_3_BUILD1 tag(s) for changeset f227eec41a24. DONTBUILD CLOSED TREE a=release
Tip revision: 2b3c79d
input-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 input has a custom error, it should be affected by :-moz-ui-invalid
             pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body>
    <input class='invalid' id='t'>
  </body>
</html>
back to top