зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1032671 - Part 5. Add reftest for emoji. r=jfkthame
Windows 7 doesn't have mono symbol font for emoji code mapping. And fontconfig doesn't have better option for this. So I except to these platforms. MozReview-Commit-ID: 7TB1guyzBVS --HG-- extra : rebase_source : 4a014a26618471cf8bee635bae961321c98a162e
This commit is contained in:
Родитель
153c591749
Коммит
ded9cb4ade
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>emoji fallback</title>
|
||||
<style>
|
||||
#test {
|
||||
font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', 'EmojiOne Mozilla';
|
||||
font-size: 24pt;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id=test>⌚⌛🌀🌁</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>emoji fallback</title>
|
||||
<style>
|
||||
#test {
|
||||
font-size: 24pt;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id=test>⌚⌛🌀🌁</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>emoji fallback to text font</title>
|
||||
<style>
|
||||
#test {
|
||||
font-family: 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols';
|
||||
font-size: 24pt;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id=test>⌚⌛🌀🌁</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>emoji fallback to text font</title>
|
||||
<style>
|
||||
#test {
|
||||
font-size: 24pt;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id=test>⌚︎⌛︎🌀︎🌁︎</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>emoji fallback to color font</title>
|
||||
<style>
|
||||
#test {
|
||||
font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', 'EmojiOne Mozilla';
|
||||
font-size: 24pt;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id=test>🅰🅱</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>emoji fallback to color font</title>
|
||||
<style>
|
||||
#test {
|
||||
font-size: 24pt;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id=test>🅰️🅱️</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -121,6 +121,12 @@ skip-if(!cocoaWidget) != apple-symbols-1.html apple-symbols-1-notref.html
|
|||
== italic-oblique-9.html italic-oblique-ref.html
|
||||
!= italic-oblique-kinnari.html italic-oblique-kinnari-ref.html
|
||||
|
||||
# GTK and Windows 7 don't have full emoji and symbol font, so emoji-fallback-2
|
||||
# don't work well.
|
||||
== emoji-fallback-1.html emoji-fallback-1-ref.html
|
||||
skip-if(gtkWidget||/^Windows\x20NT\x206\.1/.test(http.oscpu)) == emoji-fallback-2.html emoji-fallback-2-ref.html
|
||||
== emoji-fallback-3.html emoji-fallback-3-ref.html
|
||||
|
||||
# system font generic per-language tests, only works under OSX currently
|
||||
# Bug 1212731 - initial implementation caused startup regression and
|
||||
# regression with full-width digits display in UI elements. Disable
|
||||
|
|
Загрузка…
Ссылка в новой задаче