Bug 1133945 - Reftest for vertical-align with dominant centered baseline. r=smontagu

This commit is contained in:
Jonathan Kew 2015-03-26 12:35:15 +00:00
Родитель cbbd8efccc
Коммит 7635d77d57
3 изменённых файлов: 38 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Test for bug 1133945</title>
<style>
body { writing-mode: vertical-rl; line-height: 60px; }
div { display: inline-block; width: 20px; height: 10px; background: blue; }
.d { position: relative; left: -20px; }
.e { position: relative; left: 20px; }
</style>
</head>
<body>
a <div class="a"></div> b <div class="b"></div> c <div class="c"></div>
d <div class="d"></div> e <div class="e"></div>
</body>
</html>

Просмотреть файл

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Test for bug 1133945</title>
<style>
body { writing-mode: vertical-rl; line-height: 60px; }
div { display: inline-block; width: 20px; height: 10px; background: blue; }
.a { vertical-align: initial; }
.b { vertical-align: middle; }
.c { vertical-align: 0; }
.d { vertical-align: -20px; }
.e { vertical-align: 20px; }
</style>
</head>
<body>
a <div class="a"></div> b <div class="b"></div> c <div class="c"></div>
d <div class="d"></div> e <div class="e"></div>
</body>
</html>

Просмотреть файл

@ -104,6 +104,7 @@ HTTP(..) == 1127488-align-end-vertical-lr-ltr.html 1127488-align-bottom-left-ref
HTTP(..) == 1127488-align-left-vertical-lr-ltr.html 1127488-align-top-left-ref.html
HTTP(..) == 1127488-align-right-vertical-lr-ltr.html 1127488-align-bottom-left-ref.html
== 1131013-vertical-bidi.html 1131013-vertical-bidi-ref.html
== 1133945-1-vertical-align.html 1133945-1-vertical-align-ref.html
== 1134744-radio-checkbox-baseline-1.html 1134744-radio-checkbox-baseline-1-ref.html
== 1134849-orthogonal-inline.html 1134849-orthogonal-inline-ref.html
fails-if(B2G||Mulet) == 1135361-ruby-justify-1.html 1135361-ruby-justify-1-ref.html # bug 1136067 # Initial mulet triage: parity with B2G/B2G Desktop