summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/layout-algorithm/grid-intrinsic-size-dynamic-block-size.html
blob: 4db5080f93ce9c6292e008d8fefb0d4a1599123d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=719441">
<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">
  <div style="display: inline-grid; height: 100%; background: green;">
    <canvas width=60 height=60 style="height: 100%; min-width: 0;"></canvas>
  </div>
</div>
<script>
document.body.offsetTop;
document.getElementById('target').style.height = '100px';
</script>