4 <title>Testcase for bug
1483499</title>
6 html { writing-mode: vertical-rl }
9 border:
1px solid brown;
14 <!-- Test: legend default styling shouldn't be affected
15 by presence of a display:contents wrapper: -->
17 <div style=
"display: contents">
18 <legend>DisplayContentsWrapper
</legend>
23 <!-- Test: legend should get the same 2px of inline-axis padding, even
24 if it's not inside of a fieldset at all. -->
25 <legend>JustALegend
</legend>
28 <!-- ...and if it's nested, each nesting level will add 2px of padding. -->
30 <legend>NestedLegend
</legend>
37 <legend>NestedLegendInFieldset
</legend>