servo/tests/wpt/css-tests/css-fonts-3_dev/html/font-features-across-space-2.htm

48 lines
No EOL
1.7 KiB
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Test: ligatures should match across spaces</title>
<link href="mailto:jdaggett@mozilla.com" rel="author" title="John Daggett">
<link href="http://www.w3.org/TR/css-fonts-3/#font-variant-ligatures-prop" rel="help">
<link href="http://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop" rel="help">
<link href="mailto:chris@w3.org" rel="reviewer" title="Chris Lilley">
<link href="reference/font-features-across-space-1-ref.htm" rel="match">
<meta content="" name="flags">
<meta content="Ligature features should be handled across spaces with font-variant-ligatures" name="assert">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<style type="text/css">
@font-face {
font-family: ligsym;
src: url(support/fonts/LigatureSymbolsWithSpaces.woff);
}
td {
padding: 10px 5px;
}
.test {
font-family: ligsym;
font-size: 150%;
font-variant-ligatures: common-ligatures;
}
</style>
</head>
<body>
<table>
<tbody><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>
</tbody></table>
</body></html>