layout/reftests/font-matching/stretchmapping-all-ref.html

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>font-stretch matching 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: Calibri, Verdana, sans-serif;
michael@0 12 }
michael@0 13
michael@0 14 p { margin: 0; padding: 0; }
michael@0 15
michael@0 16 table {
michael@0 17 border-collapse: collapse;
michael@0 18 }
michael@0 19
michael@0 20 th {
michael@0 21 font-weight: normal;
michael@0 22 background-color: #eee;
michael@0 23 }
michael@0 24
michael@0 25 th, td { width: 3em; text-align: left; }
michael@0 26 tr th { text-align: left; }
michael@0 27
michael@0 28 .fstest-full { font-family: fstest-full; }
michael@0 29
michael@0 30 @font-face {
michael@0 31 font-family: fstest-full;
michael@0 32 src: url(../fonts/csstest-widths-wd1.ttf);
michael@0 33 font-stretch: ultra-condensed;
michael@0 34 }
michael@0 35
michael@0 36 @font-face {
michael@0 37 font-family: fstest-full;
michael@0 38 src: url(../fonts/csstest-widths-wd2.ttf);
michael@0 39 font-stretch: extra-condensed;
michael@0 40 }
michael@0 41
michael@0 42 @font-face {
michael@0 43 font-family: fstest-full;
michael@0 44 src: url(../fonts/csstest-widths-wd3.ttf);
michael@0 45 font-stretch: condensed;
michael@0 46 }
michael@0 47
michael@0 48 @font-face {
michael@0 49 font-family: fstest-full;
michael@0 50 src: url(../fonts/csstest-widths-wd4.ttf);
michael@0 51 font-stretch: semi-condensed;
michael@0 52 }
michael@0 53
michael@0 54 @font-face {
michael@0 55 font-family: fstest-full;
michael@0 56 src: url(../fonts/csstest-widths-wd5.ttf);
michael@0 57 font-stretch: normal;
michael@0 58 }
michael@0 59
michael@0 60 @font-face {
michael@0 61 font-family: fstest-full;
michael@0 62 src: url(../fonts/csstest-widths-wd6.ttf);
michael@0 63 font-stretch: semi-expanded;
michael@0 64 }
michael@0 65
michael@0 66 @font-face {
michael@0 67 font-family: fstest-full;
michael@0 68 src: url(../fonts/csstest-widths-wd7.ttf);
michael@0 69 font-stretch: expanded;
michael@0 70 }
michael@0 71
michael@0 72 @font-face {
michael@0 73 font-family: fstest-full;
michael@0 74 src: url(../fonts/csstest-widths-wd8.ttf);
michael@0 75 font-stretch: extra-expanded;
michael@0 76 }
michael@0 77
michael@0 78 @font-face {
michael@0 79 font-family: fstest-full;
michael@0 80 src: url(../fonts/csstest-widths-wd9.ttf);
michael@0 81 font-stretch: ultra-expanded;
michael@0 82 }
michael@0 83
michael@0 84 .fstest-1-3 { font-family: fstest-1-3; }
michael@0 85
michael@0 86 @font-face {
michael@0 87 font-family: fstest-1-3;
michael@0 88 src: url(../fonts/csstest-widths-wd1.ttf);
michael@0 89 font-stretch: ultra-condensed;
michael@0 90 }
michael@0 91
michael@0 92 @font-face {
michael@0 93 font-family: fstest-1-3;
michael@0 94 src: url(../fonts/csstest-widths-wd3.ttf);
michael@0 95 font-stretch: condensed;
michael@0 96 }
michael@0 97
michael@0 98 .fstest-1-4 { font-family: fstest-1-4; }
michael@0 99
michael@0 100 @font-face {
michael@0 101 font-family: fstest-1-4;
michael@0 102 src: url(../fonts/csstest-widths-wd1.ttf);
michael@0 103 font-stretch: ultra-condensed;
michael@0 104 }
michael@0 105
michael@0 106 @font-face {
michael@0 107 font-family: fstest-1-4;
michael@0 108 src: url(../fonts/csstest-widths-wd4.ttf);
michael@0 109 font-stretch: semi-condensed;
michael@0 110 }
michael@0 111
michael@0 112 .fstest-1-5 { font-family: fstest-1-5; }
michael@0 113
michael@0 114 @font-face {
michael@0 115 font-family: fstest-1-5;
michael@0 116 src: url(../fonts/csstest-widths-wd1.ttf);
michael@0 117 font-stretch: ultra-condensed;
michael@0 118 }
michael@0 119
michael@0 120 @font-face {
michael@0 121 font-family: fstest-1-5;
michael@0 122 src: url(../fonts/csstest-widths-wd5.ttf);
michael@0 123 font-stretch: normal;
michael@0 124 }
michael@0 125
michael@0 126 .fstest-2-6 { font-family: fstest-2-6; }
michael@0 127
michael@0 128 @font-face {
michael@0 129 font-family: fstest-2-6;
michael@0 130 src: url(../fonts/csstest-widths-wd2.ttf);
michael@0 131 font-stretch: extra-condensed;
michael@0 132 }
michael@0 133
michael@0 134 @font-face {
michael@0 135 font-family: fstest-2-6;
michael@0 136 src: url(../fonts/csstest-widths-wd6.ttf);
michael@0 137 font-stretch: semi-expanded;
michael@0 138 }
michael@0 139
michael@0 140 .fstest-4-6 { font-family: fstest-4-6; }
michael@0 141
michael@0 142 @font-face {
michael@0 143 font-family: fstest-4-6;
michael@0 144 src: url(../fonts/csstest-widths-wd4.ttf);
michael@0 145 font-stretch: semi-condensed;
michael@0 146 }
michael@0 147
michael@0 148 @font-face {
michael@0 149 font-family: fstest-4-6;
michael@0 150 src: url(../fonts/csstest-widths-wd6.ttf);
michael@0 151 font-stretch: semi-expanded;
michael@0 152 }
michael@0 153
michael@0 154 .fstest-4-7 { font-family: fstest-4-7; }
michael@0 155
michael@0 156 @font-face {
michael@0 157 font-family: fstest-4-7;
michael@0 158 src: url(../fonts/csstest-widths-wd4.ttf);
michael@0 159 font-stretch: semi-condensed;
michael@0 160 }
michael@0 161
michael@0 162 @font-face {
michael@0 163 font-family: fstest-4-7;
michael@0 164 src: url(../fonts/csstest-widths-wd7.ttf);
michael@0 165 font-stretch: expanded;
michael@0 166 }
michael@0 167
michael@0 168 .fstest-6-7 { font-family: fstest-6-7; }
michael@0 169
michael@0 170 @font-face {
michael@0 171 font-family: fstest-6-7;
michael@0 172 src: url(../fonts/csstest-widths-wd6.ttf);
michael@0 173 font-stretch: semi-expanded;
michael@0 174 }
michael@0 175
michael@0 176 @font-face {
michael@0 177 font-family: fstest-6-7;
michael@0 178 src: url(../fonts/csstest-widths-wd7.ttf);
michael@0 179 font-stretch: expanded;
michael@0 180 }
michael@0 181
michael@0 182 .fstest-7-9 { font-family: fstest-7-9; }
michael@0 183
michael@0 184 @font-face {
michael@0 185 font-family: fstest-7-9;
michael@0 186 src: url(../fonts/csstest-widths-wd7.ttf);
michael@0 187 font-stretch: expanded;
michael@0 188 }
michael@0 189
michael@0 190 @font-face {
michael@0 191 font-family: fstest-7-9;
michael@0 192 src: url(../fonts/csstest-widths-wd9.ttf);
michael@0 193 font-stretch: ultra-expanded;
michael@0 194 }
michael@0 195
michael@0 196 .fstest-8-9 { font-family: fstest-8-9; }
michael@0 197
michael@0 198 @font-face {
michael@0 199 font-family: fstest-8-9;
michael@0 200 src: url(../fonts/csstest-widths-wd8.ttf);
michael@0 201 font-stretch: extra-expanded;
michael@0 202 }
michael@0 203
michael@0 204 @font-face {
michael@0 205 font-family: fstest-8-9;
michael@0 206 src: url(../fonts/csstest-widths-wd9.ttf);
michael@0 207 font-stretch: ultra-expanded;
michael@0 208 }
michael@0 209
michael@0 210 .fs1 { font-stretch: ultra-condensed; }
michael@0 211 .fs2 { font-stretch: extra-condensed; }
michael@0 212 .fs3 { font-stretch: condensed; }
michael@0 213 .fs4 { font-stretch: semi-condensed; }
michael@0 214 .fs5 { font-stretch: normal; }
michael@0 215 .fs6 { font-stretch: semi-expanded; }
michael@0 216 .fs7 { font-stretch: expanded; }
michael@0 217 .fs8 { font-stretch: extra-expanded; }
michael@0 218 .fs9 { font-stretch: ultra-expanded; }
michael@0 219
michael@0 220 </style>
michael@0 221
michael@0 222 <script type="text/javascript">
michael@0 223
michael@0 224 </script>
michael@0 225
michael@0 226 </head>
michael@0 227 <body>
michael@0 228
michael@0 229 <p>font-stretch mapping with different font family sets</p>
michael@0 230 <p>(only numbers should appear in the body of the table)</p>
michael@0 231
michael@0 232 <table>
michael@0 233 <thead>
michael@0 234 <th>width</th>
michael@0 235 <th>full</th>
michael@0 236 <th>1-3</th>
michael@0 237 <th>1-4</th>
michael@0 238 <th>1-5</th>
michael@0 239 <th>2-6</th>
michael@0 240 <th>4-6</th>
michael@0 241 <th>4-7</th>
michael@0 242 <th>6-7</th>
michael@0 243 <th>7-9</th>
michael@0 244 <th>8-9</th>
michael@0 245 </thead>
michael@0 246 <tr class="fs1">
michael@0 247 <th>1</th>
michael@0 248 <td class="fstest-full">1</td>
michael@0 249 <td class="fstest-1-3">1</td>
michael@0 250 <td class="fstest-1-4">1</td>
michael@0 251 <td class="fstest-1-5">1</td>
michael@0 252 <td class="fstest-2-6">2</td>
michael@0 253 <td class="fstest-4-6">4</td>
michael@0 254 <td class="fstest-4-7">4</td>
michael@0 255 <td class="fstest-6-7">6</td>
michael@0 256 <td class="fstest-7-9">7</td>
michael@0 257 <td class="fstest-8-9">8</td>
michael@0 258 </tr>
michael@0 259 <tr class="fs2">
michael@0 260 <th>2</th>
michael@0 261 <td class="fstest-full">2</td>
michael@0 262 <td class="fstest-1-3">1</td>
michael@0 263 <td class="fstest-1-4">1</td>
michael@0 264 <td class="fstest-1-5">1</td>
michael@0 265 <td class="fstest-2-6">2</td>
michael@0 266 <td class="fstest-4-6">4</td>
michael@0 267 <td class="fstest-4-7">4</td>
michael@0 268 <td class="fstest-6-7">6</td>
michael@0 269 <td class="fstest-7-9">7</td>
michael@0 270 <td class="fstest-8-9">8</td>
michael@0 271 </tr>
michael@0 272 <tr class="fs3">
michael@0 273 <th>3</th>
michael@0 274 <td class="fstest-full">3</td>
michael@0 275 <td class="fstest-1-3">3</td>
michael@0 276 <td class="fstest-1-4">1</td>
michael@0 277 <td class="fstest-1-5">1</td>
michael@0 278 <td class="fstest-2-6">2</td>
michael@0 279 <td class="fstest-4-6">4</td>
michael@0 280 <td class="fstest-4-7">4</td>
michael@0 281 <td class="fstest-6-7">6</td>
michael@0 282 <td class="fstest-7-9">7</td>
michael@0 283 <td class="fstest-8-9">8</td>
michael@0 284 </tr>
michael@0 285 <tr class="fs4">
michael@0 286 <th>4</th>
michael@0 287 <td class="fstest-full">4</td>
michael@0 288 <td class="fstest-1-3">3</td>
michael@0 289 <td class="fstest-1-4">4</td>
michael@0 290 <td class="fstest-1-5">1</td>
michael@0 291 <td class="fstest-2-6">2</td>
michael@0 292 <td class="fstest-4-6">4</td>
michael@0 293 <td class="fstest-4-7">4</td>
michael@0 294 <td class="fstest-6-7">6</td>
michael@0 295 <td class="fstest-7-9">7</td>
michael@0 296 <td class="fstest-8-9">8</td>
michael@0 297 </tr>
michael@0 298 <tr class="fs5">
michael@0 299 <th>5</th>
michael@0 300 <td class="fstest-full">5</td>
michael@0 301 <td class="fstest-1-3">3</td>
michael@0 302 <td class="fstest-1-4">4</td>
michael@0 303 <td class="fstest-1-5">5</td>
michael@0 304 <td class="fstest-2-6">2</td>
michael@0 305 <td class="fstest-4-6">4</td>
michael@0 306 <td class="fstest-4-7">4</td>
michael@0 307 <td class="fstest-6-7">6</td>
michael@0 308 <td class="fstest-7-9">7</td>
michael@0 309 <td class="fstest-8-9">8</td>
michael@0 310 </tr>
michael@0 311 <tr class="fs6">
michael@0 312 <th>6</th>
michael@0 313 <td class="fstest-full">6</td>
michael@0 314 <td class="fstest-1-3">3</td>
michael@0 315 <td class="fstest-1-4">4</td>
michael@0 316 <td class="fstest-1-5">5</td>
michael@0 317 <td class="fstest-2-6">6</td>
michael@0 318 <td class="fstest-4-6">6</td>
michael@0 319 <td class="fstest-4-7">7</td>
michael@0 320 <td class="fstest-6-7">6</td>
michael@0 321 <td class="fstest-7-9">7</td>
michael@0 322 <td class="fstest-8-9">8</td>
michael@0 323 </tr>
michael@0 324 <tr class="fs7">
michael@0 325 <th>7</th>
michael@0 326 <td class="fstest-full">7</td>
michael@0 327 <td class="fstest-1-3">3</td>
michael@0 328 <td class="fstest-1-4">4</td>
michael@0 329 <td class="fstest-1-5">5</td>
michael@0 330 <td class="fstest-2-6">6</td>
michael@0 331 <td class="fstest-4-6">6</td>
michael@0 332 <td class="fstest-4-7">7</td>
michael@0 333 <td class="fstest-6-7">7</td>
michael@0 334 <td class="fstest-7-9">7</td>
michael@0 335 <td class="fstest-8-9">8</td>
michael@0 336 </tr>
michael@0 337 <tr class="fs8">
michael@0 338 <th>8</th>
michael@0 339 <td class="fstest-full">8</td>
michael@0 340 <td class="fstest-1-3">3</td>
michael@0 341 <td class="fstest-1-4">4</td>
michael@0 342 <td class="fstest-1-5">5</td>
michael@0 343 <td class="fstest-2-6">6</td>
michael@0 344 <td class="fstest-4-6">6</td>
michael@0 345 <td class="fstest-4-7">7</td>
michael@0 346 <td class="fstest-6-7">7</td>
michael@0 347 <td class="fstest-7-9">9</td>
michael@0 348 <td class="fstest-8-9">8</td>
michael@0 349 </tr>
michael@0 350 <tr class="fs9">
michael@0 351 <th>9</th>
michael@0 352 <td class="fstest-full">9</td>
michael@0 353 <td class="fstest-1-3">3</td>
michael@0 354 <td class="fstest-1-4">4</td>
michael@0 355 <td class="fstest-1-5">5</td>
michael@0 356 <td class="fstest-2-6">6</td>
michael@0 357 <td class="fstest-4-6">6</td>
michael@0 358 <td class="fstest-4-7">7</td>
michael@0 359 <td class="fstest-6-7">7</td>
michael@0 360 <td class="fstest-7-9">9</td>
michael@0 361 <td class="fstest-8-9">9</td>
michael@0 362 </tr>
michael@0 363 </table>
michael@0 364
michael@0 365 </body>
michael@0 366 </html>

mercurial