summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/transform-001.html
blob: 37985dd3f0e633566751fe879915038d13b3967f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<style>
  .relpos {
      position: relative;
      top: -60px;
      background: green;
  }
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="writing-mode:vertical-lr; inline-size:100px; block-size:100px; columns:4; column-fill:auto; column-gap:0; background:red;">
  <div style="block-size:50px; background:green;"></div>
  <div style="will-change:transform; transform:translateY(60px);">
    <div class="relpos" style="block-size:100px;"></div>
    <div class="relpos" style="block-size:100px;"></div>
    <div class="relpos" style="block-size:150px;"></div>
  </div>
</div>