Mark http/tests/websocket/tests/hybi/secure-cookie-secure-connection.pl as a failure...
[WebKit-https.git] / LayoutTests / css3 / font-synthesis-small-caps.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 /* Only test OpenType fonts for now, because our TrueType font is busted when disabling features. */
6 @font-face {
7     /* Opentype. "J" responds to smcp; "K" responds to c2sc */
8     font-family: "testfontotf";
9     src: url("resources/FontWithFeatures.otf") format("opentype");
10 }
11 @font-face {
12     /* Truetype. "S" responds to smcp; "V" responds to c2sc */
13     font-family: "testfontttf";
14     src: url("resources/FontWithFeatures.ttf") format("truetype");
15 }
16 @font-face {
17     /* Opentype. "f" responds to smcp; "g" responds to c2sc */
18     font-family: "testfontlowercasesmallcapsotf";
19     src: url("resources/FontWithFeaturesLowercaseSmallCaps.otf") format("opentype");
20 }
21 @font-face {
22     /* Truetype. "r" responds to smcp; "u" responds to c2sc */
23     font-family: "testfontlowercasesmallcapsttf";
24     src: url("resources/FontWithFeaturesLowercaseSmallCaps.ttf") format("truetype");
25 }
26 .test {
27     font-size: 20px;
28     display: inline-block;
29 }
30 </style>
31 </head>
32 <body>
33 This test makes sure that the font-synthesis: none value gets correctly applied. The test passes when a particular pattern of Xs and checks appear below. Also note that the correct size of the character is required.
34 <div style="font-family: testfontotf; border: solid green 1px; margin: 5px; font-feature-settings: 'ntrl';">
35 <div class="test" style="">J</div>
36 <div class="test" style="">a</div>
37 <div class="test" style="font-variant: small-caps;">J</div>
38 <div class="test" style="font-variant: small-caps;">aJ</div>
39 <div class="test" style="font-variant: small-caps; font-synthesis: small-caps;">aJ</div>
40 <div class="test" style="font-variant: small-caps; font-synthesis: none;">aJ</div>
41 <div class="test" style="font-variant: small-caps; font-synthesis: weight;">aJ</div>
42 </div>
43 <div style="font-family: testfontttf; border: solid green 1px; margin: 5px; font-feature-settings: 'ntrl';">
44 <div class="test" style="">S</div>
45 <div class="test" style="">a</div>
46 <div class="test" style="font-variant: small-caps;">S</div>
47 <div class="test" style="font-variant: small-caps;">aS</div>
48 <div class="test" style="font-variant: small-caps; font-synthesis: small-caps;">aS</div>
49 <div class="test" style="font-variant: small-caps; font-synthesis: none;">aS</div>
50 <div class="test" style="font-variant: small-caps; font-synthesis: weight;">aS</div>
51 </div>
52 <div style="font-family: testfontlowercasesmallcapsotf; border: solid black 1px; margin: 5px; font-feature-settings: 'ntrl';">
53 <div class="test" style="">f</div>
54 <div class="test" style="">a</div>
55 <div class="test" style="font-variant: small-caps;">f</div>
56 <div class="test" style="font-variant: small-caps;">af</div>
57 <div class="test" style="font-variant: small-caps; font-synthesis: small-caps;">af</div>
58 <div class="test" style="font-variant: small-caps; font-synthesis: none;">af</div>
59 <div class="test" style="font-variant: small-caps; font-synthesis: weight;">af</div>
60 </div>
61 <div style="font-family: testfontlowercasesmallcapsttf; border: solid blue 1px; margin: 5px; font-feature-settings: 'ntrl';">
62 <div class="test" style="">r</div>
63 <div class="test" style="">a</div>
64 <div class="test" style="font-variant: small-caps;">r</div>
65 <div class="test" style="font-variant: small-caps;">ar</div>
66 <div class="test" style="font-variant: small-caps; font-synthesis: small-caps;">ar</div>
67 <div class="test" style="font-variant: small-caps; font-synthesis: none;">ar</div>
68 <div class="test" style="font-variant: small-caps; font-synthesis: weight;">ar</div>
69 </div>
70 <div style="font-family: testfontotf; border: solid green 1px; margin: 5px; font-feature-settings: 'ntrl';">
71 <div class="test" style="">K</div>
72 <div class="test" style="">a</div>
73 <div class="test" style="font-variant: small-caps;">K</div>
74 <div class="test" style="font-variant: small-caps;">aK</div>
75 <div class="test" style="font-variant: small-caps; font-synthesis: small-caps;">aK</div>
76 <div class="test" style="font-variant: small-caps; font-synthesis: none;">aK</div>
77 <div class="test" style="font-variant: small-caps; font-synthesis: weight;">aK</div>
78 </div>
79 <div style="font-family: testfontttf; border: solid green 1px; margin: 5px; font-feature-settings: 'ntrl';">
80 <div class="test" style="">V</div>
81 <div class="test" style="">a</div>
82 <div class="test" style="font-variant: small-caps;">V</div>
83 <div class="test" style="font-variant: small-caps;">aV</div>
84 <div class="test" style="font-variant: small-caps; font-synthesis: small-caps;">aV</div>
85 <div class="test" style="font-variant: small-caps; font-synthesis: none;">aV</div>
86 <div class="test" style="font-variant: small-caps; font-synthesis: weight;">aV</div>
87 </div>
88 <div style="font-family: testfontlowercasesmallcapsotf; border: solid black 1px; margin: 5px; font-feature-settings: 'ntrl';">
89 <div class="test" style="">g</div>
90 <div class="test" style="">a</div>
91 <div class="test" style="font-variant: small-caps;">g</div>
92 <div class="test" style="font-variant: small-caps;">ag</div>
93 <div class="test" style="font-variant: small-caps; font-synthesis: small-caps;">ag</div>
94 <div class="test" style="font-variant: small-caps; font-synthesis: none;">ag</div>
95 <div class="test" style="font-variant: small-caps; font-synthesis: weight;">ag</div>
96 </div>
97 <div style="font-family: testfontlowercasesmallcapsttf; border: solid blue 1px; margin: 5px; font-feature-settings: 'ntrl';">
98 <div class="test" style="">u</div>
99 <div class="test" style="">a</div>
100 <div class="test" style="font-variant: small-caps;">u</div>
101 <div class="test" style="font-variant: small-caps;">au</div>
102 <div class="test" style="font-variant: small-caps; font-synthesis: small-caps;">au</div>
103 <div class="test" style="font-variant: small-caps; font-synthesis: none;">au</div>
104 <div class="test" style="font-variant: small-caps; font-synthesis: weight;">au</div>
105 </div>
106 </body>
107 </html>