<!DOCTYPE HTML>
<script>
    if (window.testRunner)
        window.testRunner.dumpAsText();
</script>
<style>
.c1 {
    display: table-footer-group;
    overflow: auto;
    -webkit-backface-visibility: hidden;
}
.c11 {
    overflow: auto;
    float: right;
    width: 10px;
}
.c18 {
    display: block;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 100px;
    transform: scale(0.5, 0.5);
}
</style>
<body>
This test passes if it does not crash.
<sup class='c11'>
  <dfn class='c18'></dfn>
  <legend class='c1'></legend>
</sup>
</body>
