mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
bug 761442 - reftest for ligatures that span inter-word space. r=jdaggett
This commit is contained in:
parent
585d4dca7f
commit
4fd9de13e1
@ -0,0 +1,47 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>ligature-across-space test</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: ligsym;
|
||||
src: url(../fonts/LigatureSymbolsWithSpaces.woff);
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 10px 5px;
|
||||
}
|
||||
|
||||
.test {
|
||||
font-family: ligsym;
|
||||
font-size: 150%;
|
||||
-moz-font-feature-settings: "liga=1";
|
||||
-moz-font-feature-settings: "liga" on;
|
||||
-webkit-font-feature-settings: "liga" on;
|
||||
-ms-font-feature-settings: "liga" on;
|
||||
-o-font-feature-settings: "liga" on;
|
||||
font-feature-settings: "liga" on;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table>
|
||||
<tr><td>calendar</td><td class="test"></td></tr>
|
||||
<tr><td>daily calendar</td><td class="test"></td></tr>
|
||||
<tr><td>align left</td><td class="test"></td></tr>
|
||||
<tr><td>align center</td><td class="test"></td></tr>
|
||||
<tr><td>align right</td><td class="test"></td></tr>
|
||||
<tr><td>volume</td><td class="test"></td></tr>
|
||||
<tr><td>volume down</td><td class="test"></td></tr>
|
||||
<tr><td>volume up</td><td class="test"></td></tr>
|
||||
<tr><td>zoom in</td><td class="test"></td></tr>
|
||||
<tr><td>zoom out</td><td class="test"></td></tr>
|
||||
<tr><td>heart</td><td class="test"></td></tr>
|
||||
<tr><td>heart empty</td><td class="test"></td></tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,47 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>ligature-across-space test</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: ligsym;
|
||||
src: url(../fonts/LigatureSymbolsWithSpaces.woff);
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 10px 5px;
|
||||
}
|
||||
|
||||
.test {
|
||||
font-family: ligsym;
|
||||
font-size: 150%;
|
||||
-moz-font-feature-settings: "liga=1";
|
||||
-moz-font-feature-settings: "liga" on;
|
||||
-webkit-font-feature-settings: "liga" on;
|
||||
-ms-font-feature-settings: "liga" on;
|
||||
-o-font-feature-settings: "liga" on;
|
||||
font-feature-settings: "liga" on;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table>
|
||||
<tr><td>calendar</td><td class="test">calendar</td></tr>
|
||||
<tr><td>daily calendar</td><td class="test">daily calendar</td></tr>
|
||||
<tr><td>align left</td><td class="test">align left</td></tr>
|
||||
<tr><td>align center</td><td class="test">align center</td></tr>
|
||||
<tr><td>align right</td><td class="test">align right</td></tr>
|
||||
<tr><td>volume</td><td class="test">volume</td></tr>
|
||||
<tr><td>volume down</td><td class="test">volume down</td></tr>
|
||||
<tr><td>volume up</td><td class="test">volume up</td></tr>
|
||||
<tr><td>zoom in</td><td class="test">zoom in</td></tr>
|
||||
<tr><td>zoom out</td><td class="test">zoom out</td></tr>
|
||||
<tr><td>heart</td><td class="test">heart</td></tr>
|
||||
<tr><td>heart empty</td><td class="test">heart empty</td></tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,41 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>ligature-across-space test</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: ligsym;
|
||||
src: url(../fonts/LigatureSymbolsWithSpaces.woff);
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 10px 5px;
|
||||
}
|
||||
|
||||
.test {
|
||||
font-family: ligsym;
|
||||
font-size: 150%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table>
|
||||
<tr><td>calendar</td><td class="test"></td></tr>
|
||||
<tr><td>daily calendar</td><td class="test">daily </td></tr>
|
||||
<tr><td>align left</td><td class="test">align </td></tr>
|
||||
<tr><td>align center</td><td class="test">align center</td></tr>
|
||||
<tr><td>align right</td><td class="test">align </td></tr>
|
||||
<tr><td>volume</td><td class="test"></td></tr>
|
||||
<tr><td>volume down</td><td class="test"> </td></tr>
|
||||
<tr><td>volume up</td><td class="test"> </td></tr>
|
||||
<tr><td>zoom in</td><td class="test"> </td></tr>
|
||||
<tr><td>zoom out</td><td class="test"> </td></tr>
|
||||
<tr><td>heart</td><td class="test"></td></tr>
|
||||
<tr><td>heart empty</td><td class="test"> empty</td></tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,41 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>ligature-across-space test</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: ligsym;
|
||||
src: url(../fonts/LigatureSymbolsWithSpaces.woff);
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 10px 5px;
|
||||
}
|
||||
|
||||
.test {
|
||||
font-family: ligsym;
|
||||
font-size: 150%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table>
|
||||
<tr><td>calendar</td><td class="test">calendar</td></tr>
|
||||
<tr><td>daily calendar</td><td class="test">daily calendar</td></tr>
|
||||
<tr><td>align left</td><td class="test">align left</td></tr>
|
||||
<tr><td>align center</td><td class="test">align center</td></tr>
|
||||
<tr><td>align right</td><td class="test">align right</td></tr>
|
||||
<tr><td>volume</td><td class="test">volume</td></tr>
|
||||
<tr><td>volume down</td><td class="test">volume down</td></tr>
|
||||
<tr><td>volume up</td><td class="test">volume up</td></tr>
|
||||
<tr><td>zoom in</td><td class="test">zoom in</td></tr>
|
||||
<tr><td>zoom out</td><td class="test">zoom out</td></tr>
|
||||
<tr><td>heart</td><td class="test">heart</td></tr>
|
||||
<tr><td>heart empty</td><td class="test">heart empty</td></tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -3,8 +3,6 @@
|
||||
# These rely on the Linux Libertine font (loaded via @font-face)
|
||||
# to ensure that features are present.
|
||||
|
||||
# Feature support is currently enabled only on Mac OS X by default
|
||||
|
||||
# check that Turkish language causes a change in rendering (no fi ligature)
|
||||
# (also works via Pango)
|
||||
skip-if(B2G) HTTP(..) != font-features-turkish.html font-features-ref.html # bug 773482
|
||||
@ -52,3 +50,7 @@ skip-if(B2G) HTTP(..) == font-features-turkish-override-5.html font-features-tur
|
||||
# check that last value wins if a feature is repeated
|
||||
HTTP(..) == font-features-order-1.html font-features-ref.html
|
||||
HTTP(..) == font-features-order-2.html font-features-noliga.html
|
||||
|
||||
# OpenType features should work across inter-word spaces
|
||||
HTTP(..) == font-features-across-space-1.html font-features-across-space-1-ref.html
|
||||
HTTP(..) == font-features-across-space-2.html font-features-across-space-2-ref.html
|
||||
|
BIN
layout/reftests/fonts/LigatureSymbolsWithSpaces.woff
Normal file
BIN
layout/reftests/fonts/LigatureSymbolsWithSpaces.woff
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user