4 <title>Reference for bug
1483499</title>
7 /* Here in the reference case, we explicitly specify padding, and we also
8 use a custom-styled div as the reference case for any legend element
9 that is not directly snapped into a fieldset border. */
11 border:
1px solid brown;
17 <!-- Test: legend default styling shouldn't be affected
18 by presence of a display:contents wrapper: -->
20 <legend>DisplayContentsWrapper
</legend>
24 <!-- Test: legend should get the same 2px of inline-axis padding, even
25 if it's not inside of a fieldset at all. -->
26 <div class=
"legendRef">JustALegend
</div>
29 <div class=
"legendRef">
30 <div class=
"legendRef">NestedLegend
</div>
36 <div class=
"legendRef">
37 <div class=
"legendRef">NestedLegendInFieldset
</div>