summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-features/fwid-spaces.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/font-features/fwid-spaces.html
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/font-features/fwid-spaces.html')
-rw-r--r--layout/reftests/font-features/fwid-spaces.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/layout/reftests/font-features/fwid-spaces.html b/layout/reftests/font-features/fwid-spaces.html
new file mode 100644
index 0000000000..61f935b254
--- /dev/null
+++ b/layout/reftests/font-features/fwid-spaces.html
@@ -0,0 +1,39 @@
+<!DOCTYPE HTML>
+<html lang="ja">
+<head>
+<title>Full-width variations of regular spaces</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
+<style type="text/css">
+
+body {
+ margin: 5px;
+}
+
+#test, #test pre {
+ font: 150% Hiragino Maru Gothic ProN, Meiryo, Yu Gothic, sans-serif;
+ -webkit-font-feature-settings: "fwid" on;
+ font-feature-settings: "fwid" on;
+}
+
+#test pre span {
+ background-color: red;
+}
+
+pre {
+ margin: 0;
+ padding: 0;
+}
+</style>
+
+</head>
+<body>
+<p>Rows should all be the same length:</p>
+<div id="test">
+<pre><span> a b c A B C </span></pre>
+<pre><span>&#x3000;a&#x3000;b&#x3000;c&#x3000;A&#x3000;B&#x3000;C&#x3000;</span></pre>
+<pre><span>ba bA bb bB c</span></pre>
+<pre><span>ba&#x3000;bA&#x3000;bb&#x3000;bB&#x3000;c</span></pre>
+</div>
+</body>
+</html> \ No newline at end of file