зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1273154 - Reftest for Mongolian shaping with word-initial NNBSP. r=jrmuizel
This commit is contained in:
Родитель
816b7b2fb6
Коммит
a9b91aebd1
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
body {
|
||||
/* Force a large line-height so that we don't get a positioning
|
||||
discrepancy on the test span depending on which font's metrics
|
||||
are used in line-height computation. */
|
||||
font: 64px/2 serif;
|
||||
}
|
||||
span {
|
||||
font-family: "Mongolian Baiti", "Times New Roman", serif;
|
||||
font-size: 32px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<span> ᠤᠨ</span>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
body {
|
||||
/* Force a large line-height so that we don't get a positioning
|
||||
discrepancy on the test span depending on which font's metrics
|
||||
are used in line-height computation. */
|
||||
font: 64px/2 serif;
|
||||
}
|
||||
span {
|
||||
/* Times does NOT support Mongolian characters, so the entire text
|
||||
should be rendered as a single Mongolian Baiti run, including
|
||||
the initial U+202F, even though it _is_ available in Times. */
|
||||
font-family: "Times New Roman", "Mongolian Baiti", serif;
|
||||
font-size: 32px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<span> ᠤᠨ</span>
|
||||
</body>
|
||||
</html>
|
|
@ -1954,4 +1954,5 @@ fuzzy(100,2000) == 1239564.html 1239564-ref.html
|
|||
== 1260543-1.html 1260543-1-ref.html
|
||||
== 1272997-1.html 1272997-1-ref.html
|
||||
random-if(!winWidget) == 1273154-1.html 1273154-1-ref.html # depends on Windows font
|
||||
random-if(!winWidget) == 1273154-2.html 1273154-2-ref.html # depends on Windows font
|
||||
== 1274368-1.html 1274368-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче