summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/printing/monolithic-overflow-008-print.html
blob: ff302dc30caa1999f9e09168feb5ac56c08af552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!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>
  body { margin: 0; }
</style>
<div style="display:grid; background:yellow;">
  <div>
    <div style="contain:size; height:350vh; width:50px; background:hotpink;"></div>
    Yellow background, page 4.
  </div>
</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.