summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ruby/line-height-3.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-ruby/line-height-3.html')
-rw-r--r--layout/reftests/css-ruby/line-height-3.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/css-ruby/line-height-3.html b/layout/reftests/css-ruby/line-height-3.html
new file mode 100644
index 0000000000..ea2bf632af
--- /dev/null
+++ b/layout/reftests/css-ruby/line-height-3.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Bug 1069519 - Ruby line height calculation</title>
+ <link rel="stylesheet" href="common.css">
+</head>
+<body style="line-height: 1">
+ <ruby>
+ <rb>base</rb>
+ <rtc style="ruby-position: over; font-size: 80%;"><rt style="color: transparent">text</rt></rtc>
+ <rtc style="ruby-position: under; font-size: 50%;"><rt style="color: transparent">text</rt></rtc>
+ </ruby><br>
+ next line
+</body>
+</html>