no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / font-matching / stretchmapping-all-ref.html
blob267e50b4cae1a67757afb324205e56de0c2e4e5e
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>font-stretch matching tests</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <style type="text/css">
9 body {
10 margin: 50px;
11 font-family: Calibri, Verdana, sans-serif;
14 p { margin: 0; padding: 0; }
16 table {
17 border-collapse: collapse;
20 th {
21 font-weight: normal;
22 background-color: #eee;
25 th, td { width: 3em; text-align: left; }
26 tr th { text-align: left; }
28 .fstest-full { font-family: fstest-full; }
30 @font-face {
31 font-family: fstest-full;
32 src: url(../fonts/csstest-widths-wd1.ttf);
33 font-stretch: ultra-condensed;
36 @font-face {
37 font-family: fstest-full;
38 src: url(../fonts/csstest-widths-wd2.ttf);
39 font-stretch: extra-condensed;
42 @font-face {
43 font-family: fstest-full;
44 src: url(../fonts/csstest-widths-wd3.ttf);
45 font-stretch: condensed;
48 @font-face {
49 font-family: fstest-full;
50 src: url(../fonts/csstest-widths-wd4.ttf);
51 font-stretch: semi-condensed;
54 @font-face {
55 font-family: fstest-full;
56 src: url(../fonts/csstest-widths-wd5.ttf);
57 font-stretch: normal;
60 @font-face {
61 font-family: fstest-full;
62 src: url(../fonts/csstest-widths-wd6.ttf);
63 font-stretch: semi-expanded;
66 @font-face {
67 font-family: fstest-full;
68 src: url(../fonts/csstest-widths-wd7.ttf);
69 font-stretch: expanded;
72 @font-face {
73 font-family: fstest-full;
74 src: url(../fonts/csstest-widths-wd8.ttf);
75 font-stretch: extra-expanded;
78 @font-face {
79 font-family: fstest-full;
80 src: url(../fonts/csstest-widths-wd9.ttf);
81 font-stretch: ultra-expanded;
84 .fstest-1-3 { font-family: fstest-1-3; }
86 @font-face {
87 font-family: fstest-1-3;
88 src: url(../fonts/csstest-widths-wd1.ttf);
89 font-stretch: ultra-condensed;
92 @font-face {
93 font-family: fstest-1-3;
94 src: url(../fonts/csstest-widths-wd3.ttf);
95 font-stretch: condensed;
98 .fstest-1-4 { font-family: fstest-1-4; }
100 @font-face {
101 font-family: fstest-1-4;
102 src: url(../fonts/csstest-widths-wd1.ttf);
103 font-stretch: ultra-condensed;
106 @font-face {
107 font-family: fstest-1-4;
108 src: url(../fonts/csstest-widths-wd4.ttf);
109 font-stretch: semi-condensed;
112 .fstest-1-5 { font-family: fstest-1-5; }
114 @font-face {
115 font-family: fstest-1-5;
116 src: url(../fonts/csstest-widths-wd1.ttf);
117 font-stretch: ultra-condensed;
120 @font-face {
121 font-family: fstest-1-5;
122 src: url(../fonts/csstest-widths-wd5.ttf);
123 font-stretch: normal;
126 .fstest-2-6 { font-family: fstest-2-6; }
128 @font-face {
129 font-family: fstest-2-6;
130 src: url(../fonts/csstest-widths-wd2.ttf);
131 font-stretch: extra-condensed;
134 @font-face {
135 font-family: fstest-2-6;
136 src: url(../fonts/csstest-widths-wd6.ttf);
137 font-stretch: semi-expanded;
140 .fstest-4-6 { font-family: fstest-4-6; }
142 @font-face {
143 font-family: fstest-4-6;
144 src: url(../fonts/csstest-widths-wd4.ttf);
145 font-stretch: semi-condensed;
148 @font-face {
149 font-family: fstest-4-6;
150 src: url(../fonts/csstest-widths-wd6.ttf);
151 font-stretch: semi-expanded;
154 .fstest-4-7 { font-family: fstest-4-7; }
156 @font-face {
157 font-family: fstest-4-7;
158 src: url(../fonts/csstest-widths-wd4.ttf);
159 font-stretch: semi-condensed;
162 @font-face {
163 font-family: fstest-4-7;
164 src: url(../fonts/csstest-widths-wd7.ttf);
165 font-stretch: expanded;
168 .fstest-6-7 { font-family: fstest-6-7; }
170 @font-face {
171 font-family: fstest-6-7;
172 src: url(../fonts/csstest-widths-wd6.ttf);
173 font-stretch: semi-expanded;
176 @font-face {
177 font-family: fstest-6-7;
178 src: url(../fonts/csstest-widths-wd7.ttf);
179 font-stretch: expanded;
182 .fstest-7-9 { font-family: fstest-7-9; }
184 @font-face {
185 font-family: fstest-7-9;
186 src: url(../fonts/csstest-widths-wd7.ttf);
187 font-stretch: expanded;
190 @font-face {
191 font-family: fstest-7-9;
192 src: url(../fonts/csstest-widths-wd9.ttf);
193 font-stretch: ultra-expanded;
196 .fstest-8-9 { font-family: fstest-8-9; }
198 @font-face {
199 font-family: fstest-8-9;
200 src: url(../fonts/csstest-widths-wd8.ttf);
201 font-stretch: extra-expanded;
204 @font-face {
205 font-family: fstest-8-9;
206 src: url(../fonts/csstest-widths-wd9.ttf);
207 font-stretch: ultra-expanded;
210 .fs1 { font-stretch: ultra-condensed; }
211 .fs2 { font-stretch: extra-condensed; }
212 .fs3 { font-stretch: condensed; }
213 .fs4 { font-stretch: semi-condensed; }
214 .fs5 { font-stretch: normal; }
215 .fs6 { font-stretch: semi-expanded; }
216 .fs7 { font-stretch: expanded; }
217 .fs8 { font-stretch: extra-expanded; }
218 .fs9 { font-stretch: ultra-expanded; }
220 </style>
222 <script type="text/javascript">
224 </script>
226 </head>
227 <body>
229 <p>font-stretch mapping with different font family sets</p>
230 <p>(only numbers should appear in the body of the table)</p>
232 <table>
233 <thead>
234 <th>width</th>
235 <th>full</th>
236 <th>1-3</th>
237 <th>1-4</th>
238 <th>1-5</th>
239 <th>2-6</th>
240 <th>4-6</th>
241 <th>4-7</th>
242 <th>6-7</th>
243 <th>7-9</th>
244 <th>8-9</th>
245 </thead>
246 <tr class="fs1">
247 <th>1</th>
248 <td class="fstest-full">1</td>
249 <td class="fstest-1-3">1</td>
250 <td class="fstest-1-4">1</td>
251 <td class="fstest-1-5">1</td>
252 <td class="fstest-2-6">2</td>
253 <td class="fstest-4-6">4</td>
254 <td class="fstest-4-7">4</td>
255 <td class="fstest-6-7">6</td>
256 <td class="fstest-7-9">7</td>
257 <td class="fstest-8-9">8</td>
258 </tr>
259 <tr class="fs2">
260 <th>2</th>
261 <td class="fstest-full">2</td>
262 <td class="fstest-1-3">1</td>
263 <td class="fstest-1-4">1</td>
264 <td class="fstest-1-5">1</td>
265 <td class="fstest-2-6">2</td>
266 <td class="fstest-4-6">4</td>
267 <td class="fstest-4-7">4</td>
268 <td class="fstest-6-7">6</td>
269 <td class="fstest-7-9">7</td>
270 <td class="fstest-8-9">8</td>
271 </tr>
272 <tr class="fs3">
273 <th>3</th>
274 <td class="fstest-full">3</td>
275 <td class="fstest-1-3">3</td>
276 <td class="fstest-1-4">1</td>
277 <td class="fstest-1-5">1</td>
278 <td class="fstest-2-6">2</td>
279 <td class="fstest-4-6">4</td>
280 <td class="fstest-4-7">4</td>
281 <td class="fstest-6-7">6</td>
282 <td class="fstest-7-9">7</td>
283 <td class="fstest-8-9">8</td>
284 </tr>
285 <tr class="fs4">
286 <th>4</th>
287 <td class="fstest-full">4</td>
288 <td class="fstest-1-3">3</td>
289 <td class="fstest-1-4">4</td>
290 <td class="fstest-1-5">1</td>
291 <td class="fstest-2-6">2</td>
292 <td class="fstest-4-6">4</td>
293 <td class="fstest-4-7">4</td>
294 <td class="fstest-6-7">6</td>
295 <td class="fstest-7-9">7</td>
296 <td class="fstest-8-9">8</td>
297 </tr>
298 <tr class="fs5">
299 <th>5</th>
300 <td class="fstest-full">5</td>
301 <td class="fstest-1-3">3</td>
302 <td class="fstest-1-4">4</td>
303 <td class="fstest-1-5">5</td>
304 <td class="fstest-2-6">2</td>
305 <td class="fstest-4-6">4</td>
306 <td class="fstest-4-7">4</td>
307 <td class="fstest-6-7">6</td>
308 <td class="fstest-7-9">7</td>
309 <td class="fstest-8-9">8</td>
310 </tr>
311 <tr class="fs6">
312 <th>6</th>
313 <td class="fstest-full">6</td>
314 <td class="fstest-1-3">3</td>
315 <td class="fstest-1-4">4</td>
316 <td class="fstest-1-5">5</td>
317 <td class="fstest-2-6">6</td>
318 <td class="fstest-4-6">6</td>
319 <td class="fstest-4-7">7</td>
320 <td class="fstest-6-7">6</td>
321 <td class="fstest-7-9">7</td>
322 <td class="fstest-8-9">8</td>
323 </tr>
324 <tr class="fs7">
325 <th>7</th>
326 <td class="fstest-full">7</td>
327 <td class="fstest-1-3">3</td>
328 <td class="fstest-1-4">4</td>
329 <td class="fstest-1-5">5</td>
330 <td class="fstest-2-6">6</td>
331 <td class="fstest-4-6">6</td>
332 <td class="fstest-4-7">7</td>
333 <td class="fstest-6-7">7</td>
334 <td class="fstest-7-9">7</td>
335 <td class="fstest-8-9">8</td>
336 </tr>
337 <tr class="fs8">
338 <th>8</th>
339 <td class="fstest-full">8</td>
340 <td class="fstest-1-3">3</td>
341 <td class="fstest-1-4">4</td>
342 <td class="fstest-1-5">5</td>
343 <td class="fstest-2-6">6</td>
344 <td class="fstest-4-6">6</td>
345 <td class="fstest-4-7">7</td>
346 <td class="fstest-6-7">7</td>
347 <td class="fstest-7-9">9</td>
348 <td class="fstest-8-9">8</td>
349 </tr>
350 <tr class="fs9">
351 <th>9</th>
352 <td class="fstest-full">9</td>
353 <td class="fstest-1-3">3</td>
354 <td class="fstest-1-4">4</td>
355 <td class="fstest-1-5">5</td>
356 <td class="fstest-2-6">6</td>
357 <td class="fstest-4-6">6</td>
358 <td class="fstest-4-7">7</td>
359 <td class="fstest-6-7">7</td>
360 <td class="fstest-7-9">9</td>
361 <td class="fstest-8-9">9</td>
362 </tr>
363 </table>
365 </body>
366 </html>