4 <title>Testcase for bug
1483499</title>
8 border:
1px solid brown;
13 <!-- Test: legend default styling shouldn't be affected
14 by presence of a display:contents wrapper: -->
16 <div style=
"display: contents">
17 <legend>DisplayContentsWrapper
</legend>
22 <!-- Test: legend should get the same 2px of inline-axis padding, even
23 if it's not inside of a fieldset at all. -->
24 <legend>JustALegend
</legend>
27 <!-- ...and if it's nested, each nesting level will add 2px of padding. -->
29 <legend>NestedLegend
</legend>
36 <legend>NestedLegendInFieldset
</legend>