monolithic-overflow-010-print.html (734B)
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="reference/monolithic-overflow-4-pages-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%; background:yellow;"> 12 <div style="display:table-row;"> 13 <div style="contain:size; height:350vh; width:50px; background:hotpink;"></div> 14 </div> 15 Yellow background, page 4. 16 </div> 17 White background, page 4. There should be a hotpink rectangle inside a yellow 18 block, starting at the first page, and ending right before the first piece of 19 text.