Bug 1115916 - Reftest for synthetic vertical metrics. r=smontagu
authorJonathan Kew <jkew@mozilla.com>
Tue, 06 Jan 2015 20:56:02 +0000
changeset 248094 6536d9885d2e2cc7fab98f5518fb23ad5e1251cf
parent 248093 d260f281dfe6dc46fb7398f86e5ed77d1f5ebf45
child 248095 1e64da07365b304b6819a7f06dd76458b6c7ee1f
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmontagu
bugs1115916
milestone37.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 1115916 - Reftest for synthetic vertical metrics. r=smontagu
layout/reftests/writing-mode/1115916-1-vertical-metrics-ref.html
layout/reftests/writing-mode/1115916-1-vertical-metrics.html
layout/reftests/writing-mode/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/writing-mode/1115916-1-vertical-metrics-ref.html
@@ -0,0 +1,25 @@
+<!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;
+}
+</style>
+</head>
+<body>
+<div id="test1">
+<span>ab<br>cd</span>
+</div>
+</body>
+</html>
new file mode 100644
--- /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>
--- a/layout/reftests/writing-mode/reftest.list
+++ b/layout/reftests/writing-mode/reftest.list
@@ -24,8 +24,9 @@ random-if(gtk2Widget) == 1094434-2.html 
 == 1094914-1b.html 1094914-1-ref.html
 == 1096224-1a.html 1096224-1-ref.html
 == 1096224-1b.html 1096224-1-ref.html
 == 1103613-1.html 1103613-1-ref.html
 == 1105268-1-min-max-dimensions.html 1105268-1-min-max-dimensions-ref.html
 == 1105268-2-min-max-dimensions.html 1105268-2-min-max-dimensions-ref.html
 == 1106669-1-intrinsic-for-container.html 1106669-1-intrinsic-for-container-ref.html
 == 1108923-1-percentage-margins.html 1108923-1-percentage-margins-ref.html
+HTTP(..) == 1115916-1-vertical-metrics.html 1115916-1-vertical-metrics-ref.html
\ No newline at end of file