summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/lineheight-metrics-2-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text/lineheight-metrics-2-ref.html')
-rw-r--r--layout/reftests/text/lineheight-metrics-2-ref.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/text/lineheight-metrics-2-ref.html b/layout/reftests/text/lineheight-metrics-2-ref.html
new file mode 100644
index 0000000000..ecf9fbf1ca
--- /dev/null
+++ b/layout/reftests/text/lineheight-metrics-2-ref.html
@@ -0,0 +1,17 @@
+<title>Testcase, bug 947650 and 598900</title>
+<style>
+html { background: white; }
+body {
+ padding: 1px;
+ background: blue;
+ width: 100px;
+ font-size: 0px; /* remove the effect of the strut ascent and descent */
+}
+div {
+ background: aqua;
+ height: 27px;
+}
+</style>
+<body>
+<div></div>
+</body>