summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/orthogonal-flex-item-crash.html
blob: 056d6588835f6444234e75268c5550b057adfa13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<link rel="help" href="https://crbug.com/1081086" />
<meta name="assert" content="This test ensures that orthogonal flex and flex-items does not crash." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<body style="width: 100px; height: 100px; font: 12px/1 Ahem;">
  <div style="display: flex; writing-mode: vertical-rl;">
    text text
    <div style="min-height: 0; writing-mode: horizontal-tb;">
      <span id="target"></span>
      text
    </div>
  </div>
</body>
<script>
document.body.offsetTop;
const target = document.getElementById('target');
target.parentElement.appendChild(target);
</script>