summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valuesandunits/unit-rem-div-width-inner.html
blob: ab0948bd8f4a608695c1645d61eef0d50e854df6 (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: 30px;
  width: 15rem;
}
#b {
  border-bottom: 1px solid #f00;
}
</style>

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