bug 616281 - fix the wordwrap-02 reftest to be independent of platform fonts. r=roc a=test-only

This commit is contained in:
Jonathan Kew 2010-12-06 10:49:50 +00:00
Родитель 72b0ddd7d4
Коммит 6b26859dd5
3 изменённых файлов: 27 добавлений и 12 удалений

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

@ -48,8 +48,7 @@ random-if(winWidget) HTTP(..) != synthetic-bold-metrics-01.html synthetic-bold-m
== white-space-1b.html white-space-1-ref.html
== white-space-2.html white-space-2-ref.html
== wordwrap-01.html wordwrap-01-ref.html
# bad fonts on test boxes: Mac is not monospace, WINNT 5.2 combines some characters into a single cell.
fails-if(!(gtk2Widget||d2d)) == wordwrap-02.html wordwrap-02-ref.html
HTTP(..) == wordwrap-02.html wordwrap-02-ref.html
HTTP(..) == wordwrap-03.html wordwrap-03-ref.html
== wordwrap-04.html wordwrap-04-ref.html
== wordwrap-05.html wordwrap-05-ref.html

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

@ -4,19 +4,27 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">
textarea { overflow: scroll; }
@font-face {
font-family: dvm;
src: url(../fonts/DejaVuSansMono.woff);
}
textarea {
font-family: dvm;
line-height: 1.5em;
overflow: scroll;
}
</style>
<title>Test Wordwrap</title>
</head>
<body>
<textarea rows="10" cols="20" dir="rtl">ذهعقروبلجيكا،الموسوع&zwj;
&zwj;ةكل,تمبوابةاقتصاديةه&zwj;
&zwj;ذه.ضمنهاالروسوحرمانب&zwj;
&zwj;لعدد,يكنجسيمةلإعادةلم
&zwj;.يكنوالحلفاءبالقنابل&zwj;
&zwj;هو,بحثخسائرالدفاعبال&zwj;
&zwj;هجومعن.فرنسيةمارشالب&zwj;
&zwj;ينيتودحرثم,وصلبشريةا
<textarea rows="10" cols="20" dir="rtl">ذهعقروبلجيكا،الموسو
ﺔكل,تمبوابةاقتصاديةﻫ
ﺬه.ضمنهاالروسوحرماﻧﺒ
ﻠﻌﺪد,يكنجسيمةلإعادةلم
.يكنوالحلفاءبالقناﺑﻠ
ﻬﻮ,بحثخسائرالدفاعباﻟ
ﻬﺠﻮمعن.فرنسيةمارشاﻟﺒ
ﻴﻨﻴﺘﻮدحرثم,وصلبشريةا
لرايخبالحربتم.</textarea>
</body>
</html>

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

@ -4,7 +4,15 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">
textarea { overflow: scroll; }
@font-face {
font-family: dvm;
src: url(../fonts/DejaVuSansMono.woff);
}
textarea {
font-family: dvm;
line-height: 1.5em;
overflow: scroll;
}
</style>
<title>Test Wordwrap</title>
</head>