servo/tests/wpt/web-platform-tests/css/css-contain/container-queries/container-units-rule-cache-ref.html

18 lines
314 B
HTML

<!doctype html>
<meta charset="utf-8">
<style>
.container {
width: 100px;
}
.half {
height: 50%;
background-color: green;
}
</style>
<div class="container" style="height: 100px">
<div class="half"></div>
</div>
<div class="container" style="height: 200px">
<div class="half"></div>
</div>