summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1117210-1-vertical-baseline-snap-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/writing-mode/1117210-1-vertical-baseline-snap-ref.html')
-rw-r--r--layout/reftests/writing-mode/1117210-1-vertical-baseline-snap-ref.html47
1 files changed, 47 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1117210-1-vertical-baseline-snap-ref.html b/layout/reftests/writing-mode/1117210-1-vertical-baseline-snap-ref.html
new file mode 100644
index 0000000000..2ebaf81dc4
--- /dev/null
+++ b/layout/reftests/writing-mode/1117210-1-vertical-baseline-snap-ref.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<style>
+@font-face {
+ font-family: ahem;
+ src: url(../fonts/Ahem.ttf);
+}
+
+div {
+ font-family: ahem;
+ font-size: 10px;
+}
+
+.lr {
+ writing-mode: vertical-lr;
+ text-orientation: sideways-right;
+ height: 40px;
+}
+.rl {
+ writing-mode: vertical-lr;
+ text-orientation: sideways-right;
+ height: 40px;
+}
+
+.c { position: relative; top: 10px; left: 10px; }
+</style>
+</head>
+
+<body>
+<div class="lr c">abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc</div>
+<div class="lr c">abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc</div>
+<div class="lr c">abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc</div>
+<div class="lr c">abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc</div>
+<div class="lr c">abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc</div>
+
+<br>
+
+<div class="rl c">abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc</div>
+<div class="rl c">abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc</div>
+<div class="rl c">abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc</div>
+<div class="rl c">abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc</div>
+<div class="rl c">abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc<br>abc</div>
+
+</body>
+</html>