summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/crashtests/multicol-dynamic-transform-crash.html
blob: 993bd1eddd857f07f8a00459bd256068a1f9daa8 (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
26
27
28
29
30
31
<!DOCTYPE html>
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<link rel="help" href="https://crbug.com/965639">
<style>
#container {
  columns: 2;
  column-fill: auto;
  background: orange;
  height: 50px;
}
#target {
  width: 100px;
  height: 100px;
  background: purple;
  position: absolute;
}
.transform {
  transform: translate(0, 50px);
}
</style>
<body>
  <div id="container">
    <div style="position: relative">
      <div id="target"></div>
    </div>
  </div>
<script>
document.body.offsetTop;
target.classList.add('transform');
</script>
</body>