Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-sizing/stretch/indefinite-3.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="help"
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<script src="/resources/check-layout-th.js"></script>
<meta name="assert"
content="with indefinite available space, max-height: stretch resolves to infinity">
<body
onload="checkLayout('[data-expected-client-height]')">
<div style="max-height: stretch; height: 4000px; width: 200px; border: solid;"
data-expected-client-height="4000">
lorem ipsum</div>