summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1115916-1-vertical-metrics.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/writing-mode/1115916-1-vertical-metrics.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1115916-1-vertical-metrics.html b/layout/reftests/writing-mode/1115916-1-vertical-metrics.html
new file mode 100644
index 0000000000..9916b4a54b
--- /dev/null
+++ b/layout/reftests/writing-mode/1115916-1-vertical-metrics.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<style>
+@font-face {
+ font-family: ahem;
+ src: url(../fonts/Ahem.ttf);
+}
+div {
+ height: 100px;
+ font: 16px/24px ahem;
+}
+#test1 {
+ writing-mode: vertical-lr;
+ text-orientation: upright;
+}
+span {
+ background: red; /* should not be visible */
+}
+</style>
+</head>
+<body>
+<div id="test1">
+<span>ab<br>cd</span>
+</div>
+</body>
+</html>