transform-023-print.html (718B)
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=1371426"> 4 <link rel="match" href="transform-023-print-ref.html"> 5 <style> 6 :root { 7 print-color-adjust: exact; 8 } 9 </style> 10 <p>There should be a green square on the second page, and no red.</p> 11 <div style="break-before:page; width:100px; height:100px; background:red;"> 12 <div style="position:absolute; width:0; height:0; transform:translateX(49px);"> 13 <div style="position:absolute; width:51px; height:100px; background:green;"></div> 14 </div> 15 <div style="position:absolute; width:50px; height:100px; background:green;"></div> 16 </div>