https://github.com/mozilla/gecko-dev
Raw File
Tip revision: c2d9f4e3b437d0a51643aa1cd6839635db93244b authored by ffxbld on 17 December 2015, 01:51:32 UTC
Added FIREFOX_43_0_1_RELEASE FIREFOX_43_0_1_BUILD1 tag(s) for changeset e8bb3550be0f. DONTBUILD CLOSED TREE a=release
Tip revision: c2d9f4e
fieldset-valid-and-barred-remove-barred.html
<!DOCTYPE html>
<!-- fieldset with one valid element and a barred for constraint
validation element then you remove the second element -->
<html class='reftest-wait'>
  <head>
    <style>
      fieldset:valid { display: none; }
    </style>
  </head>
  <script>
    function onloadHandler()
    {
      document.getElementById("fieldset").removeChild(document.getElementById('j'));
      document.documentElement.className = '';
    }
  </script>
  <body onload='onloadHandler();'>
    <fieldset id="fieldset">
      <input id='i' value='foo' required>
      <input id='j' value='bar' readonly>
    </fieldset>
  </body>
</html>
back to top