layout/reftests/font-features/fwid-spaces.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/font-features/fwid-spaces.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html lang="ja">
     1.6 +<head>
     1.7 +<title>Full-width variations of regular spaces</title>
     1.8 +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     1.9 +
    1.10 +<style type="text/css">
    1.11 +
    1.12 +body {
    1.13 +  margin: 5px;
    1.14 +}
    1.15 +
    1.16 +#test, #test pre {
    1.17 +  font: 150% Hiragino Kaku Gothic ProN, Meiryo, sans-serif;
    1.18 +  -moz-font-feature-settings: "fwid" on;
    1.19 +  -webkit-font-feature-settings: "fwid" on;
    1.20 +  font-feature-settings: "fwid" on;
    1.21 +}
    1.22 +
    1.23 +#test pre span {
    1.24 +  background-color: red;
    1.25 +}
    1.26 +
    1.27 +pre {
    1.28 +  margin: 0;
    1.29 +  padding: 0;
    1.30 +}
    1.31 +</style>
    1.32 +
    1.33 +</head>
    1.34 +<body>
    1.35 +<p>Rows should all be the same length:</p>
    1.36 +<div id="test">
    1.37 +<pre><span> a b c A B C </span></pre>
    1.38 +<pre><span>&#x3000;a&#x3000;b&#x3000;c&#x3000;A&#x3000;B&#x3000;C&#x3000;</span></pre>
    1.39 +<pre><span>ba bA bb bB c</span></pre>
    1.40 +<pre><span>ba&#x3000;bA&#x3000;bb&#x3000;bB&#x3000;c</span></pre>
    1.41 +</div>
    1.42 +</body>
    1.43 +</html>
    1.44 \ No newline at end of file

mercurial