summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1367592-1.html
blob: 99bbe9eb1f296e3e2e6f08519480d8cc214981a4 (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<style>
:root { font-size: 16px; }
.x:root { font-size: 32px; }
body { font-size: 16px; }
.y { width: 1rem; height: 1rem; background-color: blue; }
</style>
<body onload="document.body.offsetWidth; document.documentElement.className = 'x';">
<div><div class=y></div></div>