1
0
Fork 0
firefox/testing/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-041.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

25 lines
674 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Replaced Element 041</title>
<link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
<link rel="help" href="https://www.w3.org/TR/css-sizing-4/#aspect-ratio-size-transfers">
<link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html"/>
<meta name="assert" content="Replaced element transferred max size should be floored by transferred min size" />
<style>
div {
width: 0px;
}
img {
min-width: 100px;
max-width: 100%;
}
</style>
</head>
<body>
<p>Test passes if there is a filled green square.</p>
<div style="width: 0px">
<img src="/css/support/60x60-green.png">
</div>
</body>
</html>