wpt / css / css-page / monolithic-overflow-014-print.html

Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-page/monolithic-overflow-014-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="monolithic-overflow-014-print-ref.html">
<style>
  :root {
    print-color-adjust: exact;
  }
  body { margin: 0; }
</style>
<div style="background:yellow;">
  <div style="display:inline-block; vertical-align:top; width:50px; height:350vh; background:hotpink;"></div>
  On the first page
</div>
This text should be at the middle of the fourth page.

/css/css-page/monolithic-overflow-014-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; }
</style>
<div style="display:flow-root; background:yellow;">
  <div style="float:left; width:50px; height:350vh; background:hotpink;"></div>
  &nbsp;On the first page
</div>
This text should be at the middle of the fourth page.