summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/grid-with-orthogonal-child-within-flexbox.html
blob: a0fc9155f06fad9046966b8c00c5e6fd8c050162 (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=1111799">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div style="display: flex; width: 100px; overflow: hidden;">
  <div style="display: grid; height: 100px;"> <!-- min-content is 100px -->
    <div style="writing-mode: vertical-rl; line-height: 0;">
      <span style="display: inline-block; width: 50px; height: 100px; background: green;"></span>
      <span style="display: inline-block; width: 50px; height: 100px; background: green;"></span>
    </div>
  </div>
  <div style="background: red;">text</div>
</div>