https://github.com/mozilla/gecko-dev
Raw File
Tip revision: fc51d46b21b0366b08c13b9c4bb4c17a33858ea0 authored by seabld on 06 January 2013, 06:20:10 UTC
Added tag SEAMONKEY_2_15_RELEASE for changeset FIREFOX_18_0_BUILD1. CLOSED TREE a=release
Tip revision: fc51d46
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