Bug 1143558 part 3 - Reftests for line break suppression inside ruby. r=roc

This commit is contained in:
Xidorn Quan 2015-03-17 19:10:15 +11:00
parent a7063c7d0f
commit caacd06bd2
7 changed files with 110 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test for ruby line break suppression</title>
<link rel="stylesheet" href="common.css">
</head>
<body>
<ruby>ab</ruby><br>
<rbc>ab</rbc><br>
<rtc>ab</rtc><br>
<rb>ab</rb><br>
<rt>ab</rt>
</body>
</html>

View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test for ruby line break suppression</title>
<link rel="stylesheet" href="common.css">
</head>
<body>
<ruby>a<br>b</ruby><br>
<rbc>a<br>b</rbc><br>
<rtc>a<br>b</rtc><br>
<rb>a<br>b</rb><br>
<rt>a<br>b</rt>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test for ruby line break suppression</title>
<link rel="stylesheet" href="common.css">
</head>
<body>
<div style="width: 1em; border: 1px solid">
<ruby>aaaaaaaaaabbbbbbbbbb</ruby><br>
<rbc>aaaaaaaaaabbbbbbbbbb</rbc><br>
<rtc>aaaaaaaaaabbbbbbbbbb</rtc><br>
<rb>aaaaaaaaaabbbbbbbbbb</rb><br>
<rt>aaaaaaaaaabbbbbbbbbb</rt><br>
</div>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test for ruby line break suppression</title>
<link rel="stylesheet" href="common.css">
</head>
<body>
<div style="width: 1em; border: 1px solid">
<ruby>aaaaaaaaaa<div></div>bbbbbbbbbb</ruby><br>
<rbc>aaaaaaaaaa<div></div>bbbbbbbbbb</rbc><br>
<rtc>aaaaaaaaaa<div></div>bbbbbbbbbb</rtc><br>
<rb>aaaaaaaaaa<div></div>bbbbbbbbbb</rb><br>
<rt>aaaaaaaaaa<div></div>bbbbbbbbbb</rt><br>
</div>
</body>
</html>

View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test for ruby line break suppression</title>
<link rel="stylesheet" href="common.css">
</head>
<body>
<ruby><span>a
b</span></ruby><br>
<rbc><span>a
b</span></rbc><br>
<rtc><span>a
b</span></rtc><br>
<rb><span>a
b</span></rb><br>
<rt><span>a
b</span></rt><br>
</body>
</html>

View File

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test for ruby line break suppression</title>
<link rel="stylesheet" href="common.css">
<style>
span { white-space: pre; }
</style>
</head>
<body>
<ruby><span>a
b</span></ruby><br>
<rbc><span>a
b</span></rbc><br>
<rtc><span>a
b</span></rtc><br>
<rb><span>a
b</span></rb><br>
<rt><span>a
b</span></rt><br>
</body>
</html>

View File

@ -27,6 +27,9 @@ test-pref(dom.meta-viewport.enabled,true) test-pref(font.size.inflation.emPerLin
fuzzy-if(winWidget,255,792) == lang-specific-style-1.html lang-specific-style-1-ref.html # bug 1134947
== line-breaking-1.html line-breaking-1-ref.html
== line-breaking-2.html line-breaking-2-ref.html
== line-break-suppression-1.html line-break-suppression-1-ref.html
== line-break-suppression-2.html line-break-suppression-2-ref.html
== line-break-suppression-3.html line-break-suppression-3-ref.html
== line-height-1.html line-height-1-ref.html
== line-height-2.html line-height-2-ref.html
== line-height-3.html line-height-3-ref.html