summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1367592-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/1367592-1.html')
-rw-r--r--layout/reftests/bugs/1367592-1.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1367592-1.html b/layout/reftests/bugs/1367592-1.html
new file mode 100644
index 0000000000..99bbe9eb1f
--- /dev/null
+++ b/layout/reftests/bugs/1367592-1.html
@@ -0,0 +1,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>