 class=float></div></legend>
 <div class=float></div>
</div>

<div class=wrapper>
 <fieldset>
  <div class=float></div>
  <legend id=rendered-legend><div class=float></div></legend>
  <legend id=in-fieldset-second-child><div class=float></div></legend>
  <div><legend id=in-fieldset-descendant><div class=float></div></legend></div>
 </fieldset>
</div>

<script>
const fieldsetBorderWidth = 2;
const legendPadding = 2;

test(() => {
  const legend = document.getElementById('in-body');
  assert_equals(legend.off