layout/reftests/font-matching/weightmapping-7-ref.html

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>Weight mapping tests</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: 50px;
michael@0 11 font-family: Futura, Verdana, sans-serif;
michael@0 12 }
michael@0 13
michael@0 14 h3, h4 { font-weight: normal; }
michael@0 15
michael@0 16 /* make all the spans blocks to avoid influence of what's outside them
michael@0 17 on line-height calculations */
michael@0 18 span { display: block; }
michael@0 19
michael@0 20 @font-face {
michael@0 21 font-family: test;
michael@0 22 src: url(../fonts/mplus/mplus-1p-bold.ttf);
michael@0 23 font-weight: 700;
michael@0 24 }
michael@0 25
michael@0 26 @font-face {
michael@0 27 font-family: test700;
michael@0 28 src: url(../fonts/mplus/mplus-1p-bold.ttf);
michael@0 29 }
michael@0 30
michael@0 31 table {
michael@0 32 border-collapse: collapse;
michael@0 33 font-family: test;
michael@0 34 font-size: 20px;
michael@0 35 }
michael@0 36
michael@0 37 td {
michael@0 38 padding: 0; margin: 0;
michael@0 39 }
michael@0 40
michael@0 41 th {
michael@0 42 font-weight: inherit;
michael@0 43 }
michael@0 44
michael@0 45 .red { color: red; }
michael@0 46
michael@0 47 th.cnor { font-weight: inherit; }
michael@0 48 th.cbo { font-weight: bolder; }
michael@0 49 th.cbobo, th.cbobo span { font-weight: bolder; }
michael@0 50 th.cli { font-weight: lighter; }
michael@0 51 th.clili, th.clili span { font-weight: lighter; }
michael@0 52
michael@0 53 thead { font-weight: 400; font-size: 75%; }
michael@0 54
michael@0 55 .w1 .clili { font-family: test700; }
michael@0 56 .w1 .cli { font-family: test700; }
michael@0 57 .w1 .cnor { font-family: test700; }
michael@0 58 .w1 .cbo { font-family: test700; }
michael@0 59 .w1 .cbobo { font-family: test700; }
michael@0 60
michael@0 61 .w2 .clili { font-family: test700; }
michael@0 62 .w2 .cli { font-family: test700; }
michael@0 63 .w2 .cnor { font-family: test700; }
michael@0 64 .w2 .cbo { font-family: test700; }
michael@0 65 .w2 .cbobo { font-family: test700; }
michael@0 66
michael@0 67 .w3 .clili { font-family: test700; }
michael@0 68 .w3 .cli { font-family: test700; }
michael@0 69 .w3 .cnor { font-family: test700; }
michael@0 70 .w3 .cbo { font-family: test700; }
michael@0 71 .w3 .cbobo { font-family: test700; }
michael@0 72
michael@0 73 .w4 .clili { font-family: test700; }
michael@0 74 .w4 .cli { font-family: test700; }
michael@0 75 .w4 .cnor { font-family: test700; }
michael@0 76 .w4 .cbo { font-family: test700; }
michael@0 77 .w4 .cbobo { font-family: test700; }
michael@0 78
michael@0 79 .w5 .clili { font-family: test700; }
michael@0 80 .w5 .cli { font-family: test700; }
michael@0 81 .w5 .cnor { font-family: test700; }
michael@0 82 .w5 .cbo { font-family: test700; }
michael@0 83 .w5 .cbobo { font-family: test700; }
michael@0 84
michael@0 85 .w6 .clili { font-family: test700; }
michael@0 86 .w6 .cli { font-family: test700; }
michael@0 87 .w6 .cnor { font-family: test700; }
michael@0 88 .w6 .cbo { font-family: test700; }
michael@0 89 .w6 .cbobo { font-family: test700; }
michael@0 90
michael@0 91 .w7 .clili { font-family: test700; }
michael@0 92 .w7 .cli { font-family: test700; }
michael@0 93 .w7 .cnor { font-family: test700; }
michael@0 94 .w7 .cbo { font-family: test700; }
michael@0 95 .w7 .cbobo { font-family: test700; }
michael@0 96
michael@0 97 .w8 .clili { font-family: test700; }
michael@0 98 .w8 .cli { font-family: test700; }
michael@0 99 .w8 .cnor { font-family: test700; }
michael@0 100 .w8 .cbo { font-family: test700; }
michael@0 101 .w8 .cbobo { font-family: test700; }
michael@0 102
michael@0 103 .w9 .clili { font-family: test700; }
michael@0 104 .w9 .cli { font-family: test700; }
michael@0 105 .w9 .cnor { font-family: test700; }
michael@0 106 .w9 .cbo { font-family: test700; }
michael@0 107 .w9 .cbobo { font-family: test700; }
michael@0 108
michael@0 109 .w1 th { font-weight: 100; }
michael@0 110 .w2 th { font-weight: 200; }
michael@0 111 .w3 th { font-weight: 300; }
michael@0 112 .w4 th { font-weight: 400; }
michael@0 113 .w5 th { font-weight: 500; }
michael@0 114 .w6 th { font-weight: 600; }
michael@0 115 .w7 th { font-weight: 700; }
michael@0 116 .w8 th { font-weight: 800; }
michael@0 117 .w9 th { font-weight: 900; }
michael@0 118
michael@0 119 </style>
michael@0 120 </head>
michael@0 121 <body>
michael@0 122
michael@0 123 <h3>Font family with 700 weight</h3>
michael@0 124
michael@0 125 <table>
michael@0 126 <thead>
michael@0 127 <th></th>
michael@0 128 <th class="clili"><span>lighter lighter</span></th>
michael@0 129 <th class="cli"><span>lighter</span></th>
michael@0 130 <th class="cnor"><span>normal</span></th>
michael@0 131 <th class="cbo"><span>bolder</span></th>
michael@0 132 <th class="cbobo"><span>bolder bolder</span></th>
michael@0 133 </thead>
michael@0 134 <tr class="w1">
michael@0 135 <th>100</th>
michael@0 136 <td class="clili"><span>東京特許許可局</span></td>
michael@0 137 <td class="cli"><span>東京特許許可局</span></td>
michael@0 138 <td class="cnor"><span>東京特許許可局</span></td>
michael@0 139 <td class="cbo"><span>東京特許許可局</span></td>
michael@0 140 <td class="cbobo"><span>東京特許許可局</span></td>
michael@0 141 </tr>
michael@0 142 <tr class="w2">
michael@0 143 <th>200</th>
michael@0 144 <td class="clili"><span>東京特許許可局</span></td>
michael@0 145 <td class="cli"><span>東京特許許可局</span></td>
michael@0 146 <td class="cnor"><span>東京特許許可局</span></td>
michael@0 147 <td class="cbo"><span>東京特許許可局</span></td>
michael@0 148 <td class="cbobo"><span>東京特許許可局</span></td>
michael@0 149 </tr>
michael@0 150 <tr class="w3">
michael@0 151 <th>300</th>
michael@0 152 <td class="clili"><span>東京特許許可局</span></td>
michael@0 153 <td class="cli"><span>東京特許許可局</span></td>
michael@0 154 <td class="cnor"><span>東京特許許可局</span></td>
michael@0 155 <td class="cbo"><span>東京特許許可局</span></td>
michael@0 156 <td class="cbobo"><span>東京特許許可局</span></td>
michael@0 157 </tr>
michael@0 158 <tr class="w4">
michael@0 159 <th>400</th>
michael@0 160 <td class="clili"><span>東京特許許可局</span></td>
michael@0 161 <td class="cli"><span>東京特許許可局</span></td>
michael@0 162 <td class="cnor"><span>東京特許許可局</span></td>
michael@0 163 <td class="cbo"><span>東京特許許可局</span></td>
michael@0 164 <td class="cbobo"><span>東京特許許可局</span></td>
michael@0 165 </tr>
michael@0 166 <tr class="w5">
michael@0 167 <th>500</th>
michael@0 168 <td class="clili"><span>東京特許許可局</span></td>
michael@0 169 <td class="cli"><span>東京特許許可局</span></td>
michael@0 170 <td class="cnor"><span>東京特許許可局</span></td>
michael@0 171 <td class="cbo"><span>東京特許許可局</span></td>
michael@0 172 <td class="cbobo"><span>東京特許許可局</span></td>
michael@0 173 </tr>
michael@0 174 <tr class="w6">
michael@0 175 <th>600</th>
michael@0 176 <td class="clili"><span>東京特許許可局</span></td>
michael@0 177 <td class="cli"><span>東京特許許可局</span></td>
michael@0 178 <td class="cnor"><span>東京特許許可局</span></td>
michael@0 179 <td class="cbo"><span>東京特許許可局</span></td>
michael@0 180 <td class="cbobo"><span>東京特許許可局</span></td>
michael@0 181 </tr>
michael@0 182 <tr class="w7">
michael@0 183 <th class="red">700</th>
michael@0 184 <td class="clili"><span>東京特許許可局</span></td>
michael@0 185 <td class="cli"><span>東京特許許可局</span></td>
michael@0 186 <td class="cnor"><span>東京特許許可局</span></td>
michael@0 187 <td class="cbo"><span>東京特許許可局</span></td>
michael@0 188 <td class="cbobo"><span>東京特許許可局</span></td>
michael@0 189 </tr>
michael@0 190 <tr class="w8">
michael@0 191 <th>800</th>
michael@0 192 <td class="clili"><span>東京特許許可局</span></td>
michael@0 193 <td class="cli"><span>東京特許許可局</span></td>
michael@0 194 <td class="cnor"><span>東京特許許可局</span></td>
michael@0 195 <td class="cbo"><span>東京特許許可局</span></td>
michael@0 196 <td class="cbobo"><span>東京特許許可局</span></td>
michael@0 197 </tr>
michael@0 198 <tr class="w9">
michael@0 199 <th>900</th>
michael@0 200 <td class="clili"><span>東京特許許可局</span></td>
michael@0 201 <td class="cli"><span>東京特許許可局</span></td>
michael@0 202 <td class="cnor"><span>東京特許許可局</span></td>
michael@0 203 <td class="cbo"><span>東京特許許可局</span></td>
michael@0 204 <td class="cbobo"><span>東京特許許可局</span></td>
michael@0 205 </tr>
michael@0 206 </table>
michael@0 207
michael@0 208 <p>tokyotokkyokyokakyoku</p>
michael@0 209
michael@0 210 </body>
michael@0 211 </html>

mercurial