summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/sub-sup-and-line-height.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text/sub-sup-and-line-height.html')
-rw-r--r--layout/reftests/text/sub-sup-and-line-height.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/text/sub-sup-and-line-height.html b/layout/reftests/text/sub-sup-and-line-height.html
new file mode 100644
index 0000000000..2931246e79
--- /dev/null
+++ b/layout/reftests/text/sub-sup-and-line-height.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="UTF-8">
+ <style>
+ p { line-height: 44px; }
+ sub, sup { vertical-align: top; }
+ </style>
+ </head>
+ <body>
+ <p>Test<sup>Test</sup><sub>Test</sub></p>
+ </body>
+</html>
+