diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-fonts/font-features-across-space-3.html')
-rw-r--r-- | testing/web-platform/tests/css/css-fonts/font-features-across-space-3.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-fonts/font-features-across-space-3.html b/testing/web-platform/tests/css/css-fonts/font-features-across-space-3.html new file mode 100644 index 0000000000..751f2cc216 --- /dev/null +++ b/testing/web-platform/tests/css/css-fonts/font-features-across-space-3.html @@ -0,0 +1,50 @@ +<!DOCTYPE HTML> +<html> +<head> +<title>CSS Test: ligatures should match across spaces</title> +<link rel="author" title="John Daggett" href="mailto:jdaggett@mozilla.com"/> +<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-variant-ligatures-prop"/> +<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop"/> +<link rel="match" href="font-features-across-space-1-ref.html"/> +<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" /> +<meta name="assert" content="Ligature features should be handled across spaces with interacting font feature properties"/> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<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> +<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>
\ No newline at end of file |