summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/transform-000.html
blob: 7f8bfa8ca4a33ac9e87a7f7b83b26b791cede0fa (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;
      left: -60px;
      background: green;
  }
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="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:translateX(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>