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