Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / legend-small-after-margin-before-border-horizontal-mode.html
blob2ea9297c4911da7f7a373505e00995c1aef0c682
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 legend {
6 background: #fc0;
7 margin-bottom: 30px;
8 font: 10px Ahem;
10 fieldset {
11 border-top: 70px solid #ddd;
12 background: #ddd;
14 p { margin-top: 0px; }
15 </style>
16 <body>
17 <p>bug <a href="https://bugs.webkit.org/show_bug.cgi?id=35981">35981</a>: Can't apply a bottom-margin to the legend element</p>
18 <form>
19 <fieldset>
20 <legend>xxxx</legend>
21 <p>There should be no gap above as the legend's margin bottom should be collapsed into the fieldset's border.</p>
22 </fieldset>
23 </form>
24 </body>
25 </html>