summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/font-features-across-space-2.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/tests/css/css-fonts/font-features-across-space-2.html
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-fonts/font-features-across-space-2.html')
-rw-r--r--testing/web-platform/tests/css/css-fonts/font-features-across-space-2.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-fonts/font-features-across-space-2.html b/testing/web-platform/tests/css/css-fonts/font-features-across-space-2.html
new file mode 100644
index 0000000000..2aaeb245cb
--- /dev/null
+++ b/testing/web-platform/tests/css/css-fonts/font-features-across-space-2.html
@@ -0,0 +1,48 @@
+<!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="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+<link rel="match" href="font-features-across-space-1-ref.html"/>
+<meta name="assert" content="Ligature features should be handled across spaces with font-variant-ligatures"/>
+<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);
+}
+
+td {
+ padding: 10px 5px;
+}
+
+.test {
+ font-family: ligsym;
+ font-size: 150%;
+ font-variant-ligatures: common-ligatures;
+}
+</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