https://github.com/mozilla/gecko-dev
Raw File
Tip revision: c439426e2e8269939599e10f5e5b542bdd53cb0d authored by ffxbld on 28 September 2011, 12:16:44 UTC
Added tag FENNEC_8_0b1_BUILD1 for changeset ac89e8348a6a. CLOSED TREE a=release
Tip revision: c439426
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