[ iOS ] imported/w3c/web-platform-tests/css/css-shadow-parts/invalidation-part-pseudo...
[WebKit.git] / LayoutTests / fast / forms / legend-small-after-margin-before-border-horizontal-mode-expected.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5     legend {
6         background: #fc0;
7         font: 10px Ahem;
8     }
9     fieldset {
10         border-top: 70px solid #ddd;
11         background: #ddd;
12     }
13     p { margin-top: 0px; }
14 </style>
15 <body>
16 <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>
17 <form>
18     <fieldset>
19         <legend>xxxx</legend>
20         <p>There should be no gap above as the legend's margin bottom should be collapsed into the fieldset's border.</p>
21     </fieldset>
22 </form>
23 </body>
24 </html>