1
0
Fork 0
firefox/testing/web-platform/tests/css/css-sizing/stretch/indefinite-3.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

16 lines
650 B
HTML

<!DOCTYPE html>
<link rel="help"
href="https://drafts.csswg.org/css-sizing-4/#stretch-fit-sizing">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/11006">
<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>