summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valuesandunits/unit-rem-div-fontsize.html
blob: 7f6ceedcf97d61b70e3f8e4dcc018760fdec041c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<style>
:root { font-size: 20px }
body { font-size: 25px }
div {
  font-size: 1.5rem;
  width: 300px;
}
#a {
  border-bottom: 1px solid #f00;
}
</style>

<body>Level 1<div id=a>Level 2<div id=b>Level 3</div></div></body>