Bug 1136557 - Reftests with nested spans in vertical mode. r=smontagu

This commit is contained in:
Jonathan Kew 2015-03-12 10:48:12 +00:00
parent b82746ff0c
commit 4307f2964b
7 changed files with 225 additions and 0 deletions

View File

@ -0,0 +1,37 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Testcase, bug 1136557</title>
<style>
.a { font: 12px serif }
.b { font: 12.25px serif }
.c { font: 12.5px serif }
.d { font: 12.75px serif }
.e { font: 12px sans-serif }
.f { font: 12.25px sans-serif }
.g { font: 12.5px sans-serif }
.h { font: 12.75px sans-serif }
.i { font: 12px monospace }
.j { font: 12.25px monospace }
.k { font: 12.5px monospace }
.l { font: 12.75px monospace }
</style>
</head>
<body>
<div style="writing-mode:vertical-lr">
<p class="a">xyzzy</p>
<p class="b">xyzzy</p>
<p class="c">xyzzy</p>
<p class="d">xyzzy</p>
<p class="e">xyzzy</p>
<p class="f">xyzzy</p>
<p class="g">xyzzy</p>
<p class="h">xyzzy</p>
<p class="i">xyzzy</p>
<p class="j">xyzzy</p>
<p class="k">xyzzy</p>
<p class="l">xyzzy</p>
</div>
</body>
</html>

View File

@ -0,0 +1,37 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Testcase, bug 1136557</title>
<style>
.a { font: 12px serif }
.b { font: 12.25px serif }
.c { font: 12.5px serif }
.d { font: 12.75px serif }
.e { font: 12px sans-serif }
.f { font: 12.25px sans-serif }
.g { font: 12.5px sans-serif }
.h { font: 12.75px sans-serif }
.i { font: 12px monospace }
.j { font: 12.25px monospace }
.k { font: 12.5px monospace }
.l { font: 12.75px monospace }
</style>
</head>
<body>
<div style="writing-mode:vertical-lr">
<p class="a">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="b">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="c">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="d">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="e">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="f">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="g">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="h">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="i">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="j">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="k">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="l">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
</div>
</body>
</html>

View File

@ -0,0 +1,37 @@
<!DOCTYPE HTML>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<title>Testcase, bug 1136557</title>
<style>
.a { font: 12px serif }
.b { font: 12.25px serif }
.c { font: 12.5px serif }
.d { font: 12.75px serif }
.e { font: 12px sans-serif }
.f { font: 12.25px sans-serif }
.g { font: 12.5px sans-serif }
.h { font: 12.75px sans-serif }
.i { font: 12px monospace }
.j { font: 12.25px monospace }
.k { font: 12.5px monospace }
.l { font: 12.75px monospace }
</style>
</head>
<body>
<div style="writing-mode:vertical-lr">
<p class="a">xyzzy</p>
<p class="b">xyzzy</p>
<p class="c">xyzzy</p>
<p class="d">xyzzy</p>
<p class="e">xyzzy</p>
<p class="f">xyzzy</p>
<p class="g">xyzzy</p>
<p class="h">xyzzy</p>
<p class="i">xyzzy</p>
<p class="j">xyzzy</p>
<p class="k">xyzzy</p>
<p class="l">xyzzy</p>
</div>
</body>
</html>

View File

@ -0,0 +1,37 @@
<!DOCTYPE HTML>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<title>Testcase, bug 1136557</title>
<style>
.a { font: 12px serif }
.b { font: 12.25px serif }
.c { font: 12.5px serif }
.d { font: 12.75px serif }
.e { font: 12px sans-serif }
.f { font: 12.25px sans-serif }
.g { font: 12.5px sans-serif }
.h { font: 12.75px sans-serif }
.i { font: 12px monospace }
.j { font: 12.25px monospace }
.k { font: 12.5px monospace }
.l { font: 12.75px monospace }
</style>
</head>
<body>
<div style="writing-mode:vertical-lr">
<p class="a">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="b">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="c">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="d">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="e">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="f">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="g">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="h">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="i">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="j">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="k">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="l">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
</div>
</body>
</html>

View File

@ -0,0 +1,37 @@
<!DOCTYPE HTML>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>Testcase, bug 1136557</title>
<style>
.a { font: 12px serif }
.b { font: 12.25px serif }
.c { font: 12.5px serif }
.d { font: 12.75px serif }
.e { font: 12px sans-serif }
.f { font: 12.25px sans-serif }
.g { font: 12.5px sans-serif }
.h { font: 12.75px sans-serif }
.i { font: 12px monospace }
.j { font: 12.25px monospace }
.k { font: 12.5px monospace }
.l { font: 12.75px monospace }
</style>
</head>
<body>
<div style="writing-mode:vertical-lr">
<p class="a">xyzzy</p>
<p class="b">xyzzy</p>
<p class="c">xyzzy</p>
<p class="d">xyzzy</p>
<p class="e">xyzzy</p>
<p class="f">xyzzy</p>
<p class="g">xyzzy</p>
<p class="h">xyzzy</p>
<p class="i">xyzzy</p>
<p class="j">xyzzy</p>
<p class="k">xyzzy</p>
<p class="l">xyzzy</p>
</div>
</body>
</html>

View File

@ -0,0 +1,37 @@
<!DOCTYPE HTML>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>Testcase, bug 1136557</title>
<style>
.a { font: 12px serif }
.b { font: 12.25px serif }
.c { font: 12.5px serif }
.d { font: 12.75px serif }
.e { font: 12px sans-serif }
.f { font: 12.25px sans-serif }
.g { font: 12.5px sans-serif }
.h { font: 12.75px sans-serif }
.i { font: 12px monospace }
.j { font: 12.25px monospace }
.k { font: 12.5px monospace }
.l { font: 12.75px monospace }
</style>
</head>
<body>
<div style="writing-mode:vertical-lr">
<p class="a">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="b">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="c">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="d">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="e">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="f">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="g">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="h">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="i">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="j">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="k">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
<p class="l">xy<span><span><span><span><span><span><span><span><span><span>zzy</p>
</div>
</body>
</html>

View File

@ -106,6 +106,9 @@ HTTP(..) == 1127488-align-right-vertical-lr-ltr.html 1127488-align-bottom-left-r
== 1131013-vertical-bidi.html 1131013-vertical-bidi-ref.html
== 1134744-radio-checkbox-baseline-1.html 1134744-radio-checkbox-baseline-1-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
== 1136557-1-nested-spans.html 1136557-1-nested-spans-ref.html
fuzzy-if(winWidget,255,69) == 1136557-2-nested-spans.html 1136557-2-nested-spans-ref.html
== 1136557-3-nested-spans.html 1136557-3-nested-spans-ref.html
# Font inflation behaves wrong in vertical writing mode: bug 1138495
test-pref(dom.meta-viewport.enabled,true) test-pref(font.size.inflation.emPerLine,15) test-pref(font.size.inflation.forceEnabled,true) test-pref(font.size.inflation.lineThreshold,0) == font-inflation-1a.html font-inflation-1-ref.html