https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 15a15053e931a28c173a973a224d477094e3f719 authored by tbirdbld on 25 April 2012, 22:40:09 UTC
Added tag THUNDERBIRD_13_0b1_RELEASE for changeset e60ca2e387a8. CLOSED TREE a=release
Tip revision: 15a1505
input-type-invalid.html
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: if an input has a custom error when barred from constraint
             validation then move a type candidate for constraint validation,
             it should not be affected by :valid pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <script>
    function onLoadHandler()
    {
      var i = document.getElementById('i');
      i.setCustomValidity('foo');
      i.type = 'text';
      document.documentElement.className='';
    }
  </script>
  <body onload="onLoadHandler();">
    <input class='invalid' type='button' id='i'>
  </body>
</html>
back to top