summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/lineheight-percentage-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text/lineheight-percentage-1.html')
-rw-r--r--layout/reftests/text/lineheight-percentage-1.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layout/reftests/text/lineheight-percentage-1.html b/layout/reftests/text/lineheight-percentage-1.html
new file mode 100644
index 0000000000..346ef24314
--- /dev/null
+++ b/layout/reftests/text/lineheight-percentage-1.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<body style="font-size: 50px">
+<p style="line-height: 41%">
+<script>
+document.write(window.getComputedStyle(document.getElementsByTagName("p")[0]).lineHeight);
+</script>