Account for margin after when laying out <legend> element
[WebKit.git] / LayoutTests / fast / forms / legend-after-margin-horizontal-writing-mode-expected.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5     legend {
6         background: #fc0;
7     }
8     fieldset { background: #ddd; }
9     p { margin-top: 50px; }
10 </style>
11 <body>
12 <div>bug <a href="https://bugs.webkit.org/show_bug.cgi?id=35981">35981</a>: Can't apply a bottom-margin to the legend element</div>
13 <form>
14     <fieldset>
15         <legend>Legend</legend>
16         <p>There should be a 50px gap above to account for the margin-bottom on the legend.</p>
17     </fieldset>
18 </form>
19 </body>
20 </html>