servo/tests/wpt/css-tests/css-fonts-3_dev/xhtml1/font-features-across-space-3.xht

50 lines
No EOL
1.9 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><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="reference/font-features-across-space-1-ref.xht" rel="match" />
<link href="mailto:chris@w3.org" rel="reviewer" title="Chris Lilley" />
<meta content="" name="flags" />
<meta content="Ligature features should be handled across spaces with interacting font feature properties" 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);
font-feature-settings: "liga" 0;
}
td {
padding: 10px 5px;
}
.test {
font-family: ligsym;
font-size: 150%;
font-variant-ligatures: none;
font-feature-settings: "liga" on;
}
</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>