Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-page/monolithic-overflow-004-print.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1402540"> <link rel="match" href="reference/monolithic-overflow-4-pages-print-ref.html"> <style> :root { print-color-adjust: exact; } body { margin: 0; } </style> <div style="height:390vh;"> <div style="background:yellow;"> <div style="contain:size; width:50px; height:350vh; background:hotpink;"></div> Yellow background, page 4. </div> White background, page 4. There should be a hotpink rectangle inside a yellow block, starting at the first page, and ending right before the first piece of text. </div>
/css/css-page/reference/monolithic-overflow-4-pages-print-ref.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> <style> body { margin: 0; } :root { print-color-adjust: exact; } </style> <div style="background:yellow;"> <div style="width:50px; height:350vh; background:hotpink;"></div> Yellow background, page 4. </div> White background, page 4. There should be a hotpink rectangle inside a yellow block, starting at the first page, and ending right before the first piece of text.