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

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html lang="ja">
michael@0 3 <head>
michael@0 4 <title>Full-width variations of regular spaces</title>
michael@0 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
michael@0 6
michael@0 7 <style type="text/css">
michael@0 8
michael@0 9 body {
michael@0 10 margin: 5px;
michael@0 11 }
michael@0 12
michael@0 13 #test, #test pre {
michael@0 14 font: 150% Hiragino Kaku Gothic ProN, Meiryo, sans-serif;
michael@0 15 -moz-font-feature-settings: "fwid" on;
michael@0 16 -webkit-font-feature-settings: "fwid" on;
michael@0 17 font-feature-settings: "fwid" on;
michael@0 18 }
michael@0 19
michael@0 20 #test pre span {
michael@0 21 background-color: red;
michael@0 22 }
michael@0 23
michael@0 24 pre {
michael@0 25 margin: 0;
michael@0 26 padding: 0;
michael@0 27 }
michael@0 28 </style>
michael@0 29
michael@0 30 </head>
michael@0 31 <body>
michael@0 32 <p>Rows should all be the same length:</p>
michael@0 33 <div id="test">
michael@0 34 <pre><span> a b c A B C </span></pre>
michael@0 35 <pre><span>&#x3000;a&#x3000;b&#x3000;c&#x3000;A&#x3000;B&#x3000;C&#x3000;</span></pre>
michael@0 36 <pre><span>ba bA bb bB c</span></pre>
michael@0 37 <pre><span>ba&#x3000;bA&#x3000;bb&#x3000;bB&#x3000;c</span></pre>
michael@0 38 </div>
michael@0 39 </body>
michael@0 40 </html>

mercurial