https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 2c4f51be60ad9c560d8ea89ff3e7aaaec06192b7 authored by seabld on 31 May 2012, 07:30:18 UTC
Added tag SEAMONKEY_2_10b3_RELEASE for changeset FIREFOX_13_0b6_BUILD1. CLOSED TREE a=release
Tip revision: 2c4f51b
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