Bug 1088025 - Reftest for positioning of lines within paragraphs in a vertical-rl block. r=dbaron
authorJonathan Kew <jkew@mozilla.com>
Thu, 13 Nov 2014 08:58:04 +0000
changeset 215441 902d968a06b15b86c632cdd72c3f5186a519ec47
parent 215440 633acdbe6568a204f8e4dfd07cec213bd36bb279
child 215442 bfd8c44bfe8631cbb31818ee2332e019100526a0
push id51760
push userjkew@mozilla.com
push dateThu, 13 Nov 2014 09:13:45 +0000
treeherdermozilla-inbound@13167bb74be0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs1088025
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1088025 - Reftest for positioning of lines within paragraphs in a vertical-rl block. r=dbaron
layout/reftests/writing-mode/1088025-1-ref.html
layout/reftests/writing-mode/1088025-1.html
layout/reftests/writing-mode/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/writing-mode/1088025-1-ref.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>Bug 1083892</title>
+<style>
+div {
+  width:300px;
+  height:300px;
+  padding:10px;
+  border:1px solid black;
+  writing-mode:vertical-rl;
+}
+</style>
+</head>
+
+<body>
+<div>
+  This is the <b><i>first</i> paragraph</b>. It's long enough to wrap onto multiple lines.<br>
+  <b>Paragraph <i>two</i></b>.<br>
+  <b><i>Third and final</i> paragraph</b> of this simple testcase. That's all, folks!
+</div>
+</body>
+
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/writing-mode/1088025-1.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>Bug 1083892</title>
+<style>
+div {
+  width:300px;
+  height:300px;
+  padding:10px;
+  border:1px solid black;
+  writing-mode:vertical-rl;
+}
+p {
+  margin: 0;
+}
+</style>
+</head>
+
+<body>
+<div>
+  <p>This is the <b><i>first</i> paragraph</b>. It's long enough to wrap onto multiple lines.
+  <p><b>Paragraph <i>two</i></b>.
+  <p><b><i>Third and final</i> paragraph</b> of this simple testcase. That's all, folks!
+</div>
+</body>
+
+</html>
--- a/layout/reftests/writing-mode/reftest.list
+++ b/layout/reftests/writing-mode/reftest.list
@@ -1,12 +1,13 @@
 # This directory contains tests for vertical text and logical layout coordinates
 # It should not be included in layout/reftests/reftest.list until vertical layout
 # is turned on
 == 1082844.html 1082844-ref.html
 == 1083748.html 1083748-ref.html
 == 1083892-1.html 1083892-1-ref.html
 == 1086883-1a.html 1086883-1-ref.html
 == 1086883-1b.html 1086883-1-ref.html
+== 1088025-1.html 1088025-1-ref.html
 == 1089388-1.html 1089388-1-ref.html
 == 1089388-2.html 1089388-2-ref.html
 == 1094914-1a.html 1094914-1-ref.html
 == 1094914-1b.html 1094914-1-ref.html