summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/container-queries/container-units-rule-cache-ref.html
blob: 6c8261959f674aa8a80f1f1f8fda343e64450114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!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>