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