Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-viewport/zoom/aspect-ratio-height-with-automatic-minimum-size-tall.html - WPT Dashboard Interop Dashboard
<html>
<head>
<link rel="match" href="aspect-ratio-height-with-automatic-minimum-size-tall-ref.html">
<style>
.zoomed-container {
width: 50px;
zoom: 2;
}
.aspect-ratio {
aspect-ratio: 1/1;
background-color: green;
}
</style>
<body>
<p>PASSES if tall green box is shown.</p>
<div class="zoomed-container">
<div class="aspect-ratio"><div style="height: 100px"></div>
</div>
</body>
</html>