summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/transform-003.html
blob: 1879bab38331cc40457e214878dcdc004db6ff89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!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;
      top: -50px;
      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:translate(60px, 50px);">
    <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>