e="txt" id="ctl1">
  <button id="ctl2" name="btn">BUTTON</button>
    <fieldset id="fs_inner">
      <input type="text" name="txt_inner">
      <progress name="pg" value="0.5"></progress>
    </fieldset>
  </fieldset>
</form>
<script>

var fm1,
    fs_outer,
    children_outer;

setup(function () {
  fm1 = document.forms.fm1;
  fs_outer = document.getElementById("fs_outer");
  children_outer = fs_outer.elements;
});

test(function () {
  assert_equals(fs_outer.type, "fieldset", "The value of type attribute 