https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 6f8cdf316a5ae7c9e89b354cb80dfdeb59071bb3 authored by ffxbld on 06 August 2015, 22:32:51 UTC
Added FIREFOX_40_0_RELEASE FIREFOX_40_0_BUILD4 tag(s) for changeset d2561e900801. DONTBUILD CLOSED TREE a=release
Tip revision: 6f8cdf3
fieldset-add-valid-with-no-element.html
<!DOCTYPE html>
<!--fieldset with no valid element and another valid one is added dynamically -->
<html class='reftest-wait'>
  <head>
    <style>
      fieldset:valid { display: none; }
    </style>
  </head>
  <script>
    function onloadHandler()
    {
      document.getElementById("fieldset").appendChild(document.getElementById('i'));
      document.documentElement.className = '';
    }
  </script>
  <body onload='onloadHandler();'>
    <input id='i' type='text' value='foo'>
    <fieldset id="fieldset">
    </fieldset>
  </body>
</html>
back to top