gecko/layout/reftests/css-valuesandunits/unit-rem-div-fontsize.html

14 lines
221 B
HTML

<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>