summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/transform-023-print.html
blob: 7650571abe1825fb191d7219fdd6d17acc081940 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!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=1371426">
<link rel="match" href="transform-023-print-ref.html">
<p>There should be a green square on the second page, and no red.</p>
<div style="break-before:page; width:100px; height:100px; background:red;">
  <div style="position:absolute; width:0; height:0; transform:translateX(49px);">
    <div style="position:absolute; width:51px; height:100px; background:green;"></div>
  </div>
  <div style="position:absolute; width:50px; height:100px; background:green;"></div>
</div>