<!doctype html>
<title>fieldset generated content</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
.wrapper {
  /* Use Ahem to avoid fractional letter widths. */
  font: 20px/1 Ahem;
}

fieldset {
  display: inline-block;
  /* Paddings might have fractional values by default, and they can cause
     rounding differences between the test element and the reference element. */
  padding: 0;
}

#t