bug 1060791 - reftest for support of Apple Symbols font. r=jdaggett

This commit is contained in:
Jonathan Kew 2014-09-02 09:01:08 +01:00
parent 958f306c47
commit 3cbdbf5c01
3 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Apple Symbols test</title>
<style>
@font-face {
font-family: "Ahem";
src: url(../fonts/Ahem.ttf);
}
body {
font-family: "Ahem", /* Ahem bullet first to establish consistent line metrics */
/* "Apple Symbols", */ /* Apple Symbols for the rest of the chars */
"Menlo", /* fallbacks for when Apple Symbols fails */
"Hiragino Kaku Gothic Pro",
sans-serif;
font-size: 36px;
line-height: 60px;
}
</style>
</head>
<body>
&#x2219;&#x25E6;&#x25ce;&#x2611;&#x261e;
</body>
</html>

View File

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Apple Symbols test</title>
<style>
@font-face {
font-family: "Ahem";
src: url(../fonts/Ahem.ttf);
}
body {
font-family: "Ahem", /* Ahem bullet first to establish consistent line metrics */
"Apple Symbols", /* Apple Symbols for the rest of the chars */
"Menlo", /* fallbacks for when Apple Symbols fails */
"Hiragino Kaku Gothic Pro",
sans-serif;
font-size: 36px;
line-height: 60px;
}
</style>
</head>
<body>
&#x2219;&#x25E6;&#x25ce;&#x2611;&#x261e;
</body>
</html>

View File

@ -93,3 +93,7 @@ random-if(!(cocoaWidget||winWidget)) == arial-arabic.html arial-arabic-ref.html
HTTP(..) == font-synthesis-1.html font-synthesis-1-ref.html
HTTP(..) == font-synthesis-2.html font-synthesis-2-ref.html
# Bug 1060791 - support for format 10 cmap in Apple Symbols;
# relevant fonts not present on other platforms.
skip-if(!cocoaWidget) HTTP(..) != apple-symbols-1.html apple-symbols-1-notref.html