summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-layout-api/box-tree-registered-ref.html
blob: 0ba9862015743c319720dd4d97c15d4808565d00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<style>
.container {
  margin: 20px 0;
  border: solid 2px;
  width: 100px;
}

.pink {
  background: hotpink;
}
</style>

<div class="container">
  <div class="pink" style="width: 50px; height: 100px;"></div>
</div>

<div class="container">
  <div class="pink" style="width: 100px; height: 100px;"></div>
</div>