fieldset-006.html (795B)
1 <!DOCTYPE html> 2 <html class="reftest-paged"> 3 <head> 4 <title>CSS Test: fieldset fragmentation</title> 5 <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=471015"> 6 <meta name="flags" content="paged"> 7 <style> 8 @page { size:5in 3in; margin:0.5in; } 9 html,body { 10 color:black; background-color:white; font:0.5in/1 monospace; padding:0; margin:0; 11 } 12 fieldset { 13 padding: 0; 14 margin: 0; 15 border: 1em solid black; 16 border-bottom-color: white; 17 } 18 legend { 19 padding: 0; 20 margin: 0; 21 width: 3em; 22 height: 2em; 23 } 24 div { width:100%; height: 10em; border-bottom: 1em solid black; } 25 x { display:block; height:1em; } 26 </style> 27 </head> 28 <body> 29 <fieldset><x>A<br>B<br>C<br>D<br>E</x><legend><div></div></legend></fieldset> 30 <span>AFTER</span> 31 </body> 32 </html>