https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 2c101a65e2d06cfb7b7c7ef987f5498a462bfcec authored by ffxbld on 14 May 2015, 23:24:13 UTC
Added FENNEC_38_0_1_RELEASE FENNEC_38_0_1_BUILD1 tag(s) for changeset 964f93dfc4ba. DONTBUILD CLOSED TREE a=release
Tip revision: 2c101a6
select-disabled-fieldset-2.html
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: if select has a disabled fieldset ancestor, it is barred from
             constraint validation and should not be affected by :-moz-ui-valid
             pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <script>
    function onloadHandler()
    {
      var fieldsets = document.getElementsByTagName("fieldset");
      fieldsets[1].disabled = true;
      fieldsets[0].disabled = false;
      document.documentElement.className='';
    }
  </script>
  <body onload="onloadHandler();">
    <fieldset disabled>
      <fieldset>
        <select class='notvalid'></select>
      </fieldset>
    </fieldset>
  </body>
</html>
back to top