summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/grid-items/grid-size-with-orthogonal-child-dynamic.html
blob: d1223b9fa0c404c61eb32c44ea66b9b99f02919c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=650273">
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div id="target" style="display: inline-grid; background: green;">
  <div style="writing-mode: vertical-lr; line-height: 0;">
    <span style="display: inline-block; height: 100px; width: 50px;"></span>
    <span style="display: inline-block; height: 50px; width: 50px;"></span>
  </div>
</div>
<script>
document.body.offsetTop;
document.getElementById('target').style.height = '100px';
</script>