Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html">
<style>
html {
font-size: 1px;
}
p {
font-size: initial;
}
.containment {
zoom: 10;
width: min-content;
contain-intrinsic-width: 10rem;
contain: inline-size;
background-color: green;
}
</style>
</head>
<body>
<p>Test passes if there is a filled green square.</p>
<div class="containment">
<div style="width: 10px; height: 10px;"></div>
</div>
</body>
</html>