rowgroup-page-break-inside-avoid-6-print.html (792B)
1 <!DOCTYPE html> 2 <html lang="en-US"> 3 <head> 4 <title>CSS Test: CSS 2.1 page-break-inside:avoid</title> 5 <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=685012"> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#propdef-page-break-inside"> 7 <link rel="match" href="rowgroup-page-break-inside-avoid-5-print-ref.html"> 8 <meta name="flags" content="paged"> 9 <style type="text/css"> 10 @page { size:5in 3in; margin:0.5in; } 11 p { height: 1in; width: 1in; margin:0; background-color:blue; } 12 .test { page-break-inside:avoid; } 13 .bb { page-break-before:always; } 14 </style> 15 </head> 16 <body> 17 <table border="1"> 18 <thead><tr><td><p>1</p></td></tr></thead> 19 <tbody class="test"><tr class="bb"><td><p>2</p><p>3</p></td></tr></tbody> 20 </table> 21 22 23 </body> 24 </html>