OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <title>Test for font-display @font-face descriptor</title> | |
3 <script src="/js-test-resources/ahem.js"></script> | |
4 <style> | |
5 .ahem { | |
6 font-family: Ahem; | |
7 } | |
8 .arial { | |
9 font-family: Arial; | |
10 } | |
11 </style> | |
12 <p>Tests how text with a font that takes <i>delay</i> seconds to load look like
after <i>T</i> seconds from load start.</p> | |
13 <table> | |
14 <tr> | |
15 <th>T[sec]</th> | |
16 <th>delay[sec]</th> | |
17 <th>auto</th> | |
18 <th>block</th> | |
19 <th>swap</th> | |
20 <th>fallback</th> | |
21 <th>optional</th> | |
22 </tr> | |
23 <tr> | |
24 <td>0</td> | |
25 <td>1</td> | |
26 <td></td> | |
27 <td></td> | |
28 <td class="arial">a</td> | |
29 <td></td> | |
30 <td></td> | |
31 </tr> | |
32 <tr> | |
33 <td>1</td> | |
34 <td>0</td> | |
35 <td class="ahem">a</td> | |
36 <td class="ahem">a</td> | |
37 <td class="ahem">a</td> | |
38 <td class="ahem">a</td> | |
39 <td class="ahem">a</td> | |
40 </tr> | |
41 <tr> | |
42 <td>1</td> | |
43 <td>0.5</td> | |
44 <td class="ahem">a</td> | |
45 <td class="ahem">a</td> | |
46 <td class="ahem">a</td> | |
47 <td class="ahem">a</td> | |
48 <td class="arial">a</td> | |
49 </tr> | |
50 <tr> | |
51 <td>1</td> | |
52 <td>3</td> | |
53 <td></td> | |
54 <td></td> | |
55 <td class="arial">a</td> | |
56 <td class="arial">a</td> | |
57 <td class="arial">a</td> | |
58 </tr> | |
59 <tr> | |
60 <td>5</td> | |
61 <td>2</td> | |
62 <td class="ahem">a</td> | |
63 <td class="ahem">a</td> | |
64 <td class="ahem">a</td> | |
65 <td class="ahem">a</td> | |
66 <td class="arial">a</td> | |
67 </tr> | |
68 <tr> | |
69 <td>5</td> | |
70 <td>4</td> | |
71 <td class="ahem">a</td> | |
72 <td class="ahem">a</td> | |
73 <td class="ahem">a</td> | |
74 <td class="arial">a</td> | |
75 <td class="arial">a</td> | |
76 </tr> | |
77 <tr> | |
78 <td>5</td> | |
79 <td>8</td> | |
80 <td class="arial">a</td> | |
81 <td class="arial">a</td> | |
82 <td class="arial">a</td> | |
83 <td class="arial">a</td> | |
84 <td class="arial">a</td> | |
85 </tr> | |
86 </table> | |
OLD | NEW |