| <!DOCTYPE html> |
| <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1217941"> |
| <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> |
| <meta name="assert" content="The flex-item shouldn't have a zero max content size."> |
| <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> |
| <div style="display: flex; align-items: center; width: 100px; height: 100px; background: red;"> |
| <div style="line-height: 0;"> |
| <svg height="100%" width="100%" viewBox="0 0 1 1"> |
| <rect height="100%" width="100%" fill="green"></rect> |
| </svg> |
| </div> |
| </div> |
| |