fieldset-00H-grid.html (636B)
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 display: grid; 14 grid-template-rows: repeat(3,auto); 15 padding: 0; 16 margin: 0; 17 border: 0; 18 border: 0.1in solid black; 19 break-inside: avoid; 20 } 21 </style> 22 </head> 23 <body> 24 X 25 <fieldset><x>A</x>B<x>C</x></fieldset> 26 </body> 27 </html>