summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/abspos-overflow-hidden-001-print-ref.html
blob: 08f69ef6a1e8e464193a905e57153d7e3392d28d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html>
  <title>Absolute position frame inside 'overflow: hidden' immediately after a forced page break</title>
  <link rel="author" title="Emily McDonough" href="mailto:emcdonough@mozilla.com"/>
  <style>
    .inner {
      box-sizing: border-box;
      width: 100%;
    }
    .outer {
      break-after: page;
      width: 100vw;
      height: 100vh;
    }
    html, body { margin: 0; }
  </style>
  <body>
    <div class="outer">
      <div class="inner" style="border: 3px solid blue">111</div>
    </div>
    <div class="outer">
      <div class="inner" style="border: 3px solid black">222</div>
    </div>
  </body>
</html>