monolithic-overflow-017-print.html (798B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1402540"> 4 <link rel="match" href="monolithic-overflow-017-print-ref.html"> 5 <style> 6 :root { 7 print-color-adjust: exact; 8 } 9 body { margin: 0; } 10 </style> 11 <div style="display:table; width:100%; line-height:20px;"> 12 <div style="display:table-footer-group; break-inside:avoid; background:hotpink;">footer</div> 13 <!-- Monolithic content that ends 5px above the table footer on the third page. --> 14 <div style="contain:size; height:calc(300vh - 25px); background:black;"></div> 15 PASS 16 </div> 17 There should be a footer on every page, and the word PASS should be seen here, 18 on the fourth page, just above the final footer.