summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valuesandunits/unit-rem-root-width.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-valuesandunits/unit-rem-root-width.html')
-rw-r--r--layout/reftests/css-valuesandunits/unit-rem-root-width.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/css-valuesandunits/unit-rem-root-width.html b/layout/reftests/css-valuesandunits/unit-rem-root-width.html
new file mode 100644
index 0000000000..3e41edadb7
--- /dev/null
+++ b/layout/reftests/css-valuesandunits/unit-rem-root-width.html
@@ -0,0 +1,12 @@
+<style>
+:root {
+ font-size: 30px;
+ width: 10rem;
+ border-bottom: 1px solid #f00;
+}
+body {
+ font-size: 25px;
+}
+</style>
+
+<body>Level 1</body>