OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 legend { | 5 legend { |
6 background: #fc0; | 6 background: #fc0; |
7 } | 7 } |
8 fieldset { background: #ddd; } | 8 fieldset { background: #ddd; } |
9 p { margin-top: 50px; } | 9 p { margin-top: 50px; } |
10 </style> | 10 </style> |
11 <body> | 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> | 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> | 13 <form> |
14 <fieldset> | 14 <fieldset> |
15 <legend>Legend</legend> | 15 <legend>Legend</legend> |
16 <p>There should be a 50px gap above to account for the margin-bottom on
the legend.</p> | 16 <p>There should be a 50px gap above to account for the margin-bottom on
the legend.</p> |
17 </fieldset> | 17 </fieldset> |
18 </form> | 18 </form> |
19 </body> | 19 </body> |
20 </html> | 20 </html> |
OLD | NEW |