Bug 1091058 - Reftest for underlining of vertical writing-mode spans. r=smontagu
authorJonathan Kew <jkew@mozilla.com>
Thu, 13 Nov 2014 08:58:05 +0000
changeset 215447 aadd7fffaa99cc24ead11ee1a7ada35fd9cb8783
parent 215446 6ec811674d955e1a17562b40fd3cda9b8292c492
child 215448 9f4207643d30e6507090bd75621260b4812e129c
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)
reviewerssmontagu
bugs1091058
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 1091058 - Reftest for underlining of vertical writing-mode spans. r=smontagu
layout/reftests/writing-mode/1091058-1-ref.html
layout/reftests/writing-mode/1091058-1.html
layout/reftests/writing-mode/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/writing-mode/1091058-1-ref.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<style>
+.h { writing-mode:horizontal-tb; }
+.v-lr { writing-mode:vertical-lr; }
+.v-rl { writing-mode:vertical-rl; }
+
+div {
+  width: 250px;
+  height: 250px;
+  border: 1px solid red;
+  margin: 10px;
+  display: inline-block;
+}
+</style>
+</head>
+
+<body>
+
+<div class="h">
+<u>方ABC方方</u><i><u>abc</u></i><u>方方方</u><b><u>xyz</u></b><u>方</u>
+</div>
+
+<div class="v-lr">
+<u>方ABC方方</u><i><u>abc</u></i><u>方方方</u><b><u>xyz</u></b><u>方</u>
+</div>
+
+<div class="v-rl">
+<u>方ABC方方</u><i><u>abc</u></i><u>方方方</u><b><u>xyz</u></b><u>方</u>
+</div>
+
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/writing-mode/1091058-1.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<style>
+.h { writing-mode:horizontal-tb; }
+.v-lr { writing-mode:vertical-lr; }
+.v-rl { writing-mode:vertical-rl; }
+
+div {
+  width: 250px;
+  height: 250px;
+  border: 1px solid red;
+  margin: 10px;
+  display: inline-block;
+}
+</style>
+</head>
+
+<body>
+
+<div class="h">
+<u>方ABC方方<i>abc</i>方方方<b>xyz</b>方</u>
+</div>
+
+<div class="v-lr">
+<u>方ABC方方<i>abc</i>方方方<b>xyz</b>方</u>
+</div>
+
+<div class="v-rl">
+<u>方ABC方方<i>abc</i>方方方<b>xyz</b>方</u>
+</div>
+
+</body>
+</html>
--- a/layout/reftests/writing-mode/reftest.list
+++ b/layout/reftests/writing-mode/reftest.list
@@ -8,10 +8,11 @@
 == 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
 == 1090168-1.html 1090168-1-ref.html
 != 1090168-1.html 1090168-1-notref.html
 == 1090168-2.html 1090168-2-ref.html
 == 1090168-3.html 1090168-3-ref.html
+== 1091058-1.html 1091058-1-ref.html
 == 1094914-1a.html 1094914-1-ref.html
 == 1094914-1b.html 1094914-1-ref.html