fragmented-inline-block-001-print.html (1140B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>test that inline-blocks are fragmented in print output</title> 6 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1740304"> 7 <meta name="reftest-pages" content="10"> 8 <link rel="mismatch" href="/css/reference/blank.html"> 9 <style> 10 .inline-block { 11 display: inline-block; 12 } 13 li { height: 1in; } 14 </style> 15 </head> 16 <body> 17 <!-- This test is expecting there to be content on page 10, as a 18 regression-test for a bug where each page was progressively 19 more-clipped, which caused later pages (e.g. page 10) to be fully-blank. 20 In this testcase, we have 40 1-inch-tall numbered list-items, which 21 collectively are 40 inches tall. This is tall enough to ensure that 22 we'll have at least 10 pages, given that our pages are each 3 inches 23 tall. --> 24 <div class="inline-block"> 25 <ol> 26 <li><li><li><li><li><li><li><li><li><li> 27 <li><li><li><li><li><li><li><li><li><li> 28 <li><li><li><li><li><li><li><li><li><li> 29 <li><li><li><li><li><li><li><li><li><li> 30 </ol> 31 </div> 32 </body> 33 </html>