summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-features/fwid-spaces.html
blob: 7c8c55fe03008e4c800aa9dbb8f89592b6fb3438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 Kaku 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>