Status: FAIL | Duration: 16ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-page/monolithic-overflow-031-print.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> <link rel="help" href="https://issues.chromium.org/40415661"> <link rel="match" href="monolithic-overflow-031-print-ref.html"> <style> :root { print-color-adjust: exact; } body { margin: 0; } @page { size: 400px 300px; margin: 0; } </style> <div style="box-decoration-break:clone; height:675px; border:solid black; border-width:50px 0; border-bottom-color:gray;"> <div style="contain:size; width:50%; height:1450px; background:yellow;"> <div style="width:350px;"> There should be 5 pages. The yellow box should go all the way to the bottom of the fifth page. There should be a black top border at the top of the first page, and a gray bottom border around halfway down on the third page. The yellow box should be on the top of the gray border. </div> </div> </div>
/css/css-page/monolithic-overflow-031-print-ref.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> <style> :root { print-color-adjust: exact; } body { margin: 0; } @page { size: 400px 300px; margin: 0; } </style> <!DOCTYPE html> <div style="height:50px; background:black;"></div> <div style="width:350px; height:0;"> There should be 5 pages. The yellow box should go all the way to the bottom of the fifth page. There should be a black top border at the top of the first page, and a gray bottom border around halfway down on the third page. The yellow box should be on the top of the gray border. </div> <div style="height:0;"> <div style="height:675px;"></div> <div style="height:50px; background:gray;"></div> </div> <div style="width:50%; height:1450px; background:yellow;"></div>