зеркало из https://github.com/mozilla/pjs.git
bug 615121 - reftests for direction of vertical glyph offsets. r=karlt a=test-only
This commit is contained in:
Родитель
0dc037a390
Коммит
75a69ea1d9
|
@ -0,0 +1,22 @@
|
|||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: schz;
|
||||
src: url(../fonts/sil/ScheherazadeRegOT.ttf);
|
||||
}
|
||||
div {
|
||||
font-family: schz;
|
||||
font-size: 32px;
|
||||
margin: 32px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<p>The letter and diacritic should be hidden by the black box:<br>
|
||||
<span style="background:black;padding:0 .5em;margin-right:-1em;">
|
||||
</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: schz;
|
||||
src: url(../fonts/sil/ScheherazadeRegOT.ttf);
|
||||
}
|
||||
div {
|
||||
font-family: schz;
|
||||
font-size: 32px;
|
||||
margin: 32px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- test for bug 615121: flipped sign for diacritic y-offset
|
||||
will make it project above the em-height box -->
|
||||
<div>
|
||||
<p>The letter and diacritic should be hidden by the black box:<br>
|
||||
<span style="background:black;padding:0 .5em;margin-right:-1em;">
|
||||
</span> بٌّ
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: schz;
|
||||
src: url(../fonts/sil/ScheherazadeRegOT.ttf);
|
||||
}
|
||||
div {
|
||||
font-family: schz;
|
||||
font-size: 32px;
|
||||
margin: 32px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<p>Diacritics should stack above the black box:<br>
|
||||
<span style="background:black;padding:0 .5em;margin-right:-1em;">
|
||||
</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: schz;
|
||||
src: url(../fonts/sil/ScheherazadeRegOT.ttf);
|
||||
}
|
||||
div {
|
||||
font-family: schz;
|
||||
font-size: 32px;
|
||||
margin: 32px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- test for bug 615121: diacritics should stack to project above the em-height;
|
||||
sign error will make them overprint the base letter instead -->
|
||||
<div>
|
||||
<p>Diacritics should stack above the black box:<br>
|
||||
<span style="background:black;padding:0 .5em;margin-right:-1em;">
|
||||
</span> ٹٌّؐ
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1551,3 +1551,5 @@ fails-if(!haveTestPlugin) == 599476.html 599476-ref.html
|
|||
== 613433-3.html 613433-1-ref.html
|
||||
== 613433-3.html 613433-2-ref.html
|
||||
== 613433-3.html 613433-3-ref.html
|
||||
HTTP(..) == 615121-1.html 615121-1-ref.html
|
||||
HTTP(..) != 615121-2.html 615121-2-notref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче