feMorphology stops applying if either x or y radius is 0 but should not.
[WebKit-https.git] / LayoutTests / css3 / font-variant-synthesis-jdaggett.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <title>
5 font-variant-caps test</title>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7 <style>
8 body {
9         font-size: 20px;
10 }
11 @font-face {
12   font-family: gsub-test;
13   src: url(./resources/gsubtest-lookup3.otf);
14 }
15 td.prop {
16   font-family: Menlo, monospace;
17   font-weight: normal;
18   text-align: left;
19   font-size: 80%;
20 }
21 td.features {
22   font-family: gsub-test;
23 }
24 .invalid {
25   color: red;
26 }
27 </style>
28 </head>
29 <body>
30 <div id="content">
31 <table>
32 <tbody>
33 <tr>
34     <td class="features" style="font-variant-caps: normal;">
35         <span title="smcp=0"></span>
36     </td>
37 </tr>
38 <tr>
39     <td class="features" style="font-variant-caps: small-caps;">
40         <span title="smcp=1"></span>
41         <span title="c2sc=0"></span>
42     </td>
43 </tr>
44 <tr>
45     <td class="features" style="font-variant-caps: all-small-caps;">
46         <span title="smcp=1"></span>
47         <span title="c2sc=1"></span>
48         <span title="pcap=0"></span>
49     </td>
50 </tr>
51 <tr>
52     <td class="features" style="font-variant-caps: petite-caps;">
53         <span title="pcap=1"></span>
54         <span title="smcp=0"></span>
55     </td>
56 </tr>
57 <tr>
58     <td class="features" style="font-variant-caps: all-petite-caps;">
59         <span title="c2pc=1"></span>
60         <span title="pcap=1"></span>
61         <span title="smcp=0"></span>
62     </td>
63 </tr>
64 <tr>
65     <td class="features" style="font-variant-caps: titling-caps;">
66         <span title="titl=1"></span>
67         <span title="smcp=0"></span>
68     </td>
69 </tr>
70 <tr>
71     <td class="features" style="font-variant-caps: unicase;">
72         <span title="unic=1"></span>
73         <span title="titl=0"></span>
74     </td>
75 </tr>
76 <tr class="invalid">
77     <td class="features" style="">
78         <span title="smcp=0"></span>
79     </td>
80 </tr>
81 <tr class="invalid">
82     <td class="features" style="">
83         <span title="smcp=0"></span>
84     </td>
85 </tr>
86 <tr class="invalid">
87     <td class="features" style="">
88         <span title="smcp=0"></span>
89         <span title="pcap=0"></span>
90     </td>
91 </tr>
92 <tr class="invalid">
93     <td class="features" style="">
94         <span title="smcp=0"></span>
95         <span title="c2sc=0"></span>
96     </td>
97 </tr>
98 <tr class="invalid">
99     <td class="features" style="">
100         <span title="smcp=0"></span>
101     </td>
102 </tr>
103 </tbody>
104 </table>
105 <table>
106 <tr>
107     <td class="features" style="font-variant-caps: normal;">
108         <span title="smcp=0"></span>
109     </td>
110 </tr>
111 <tr>
112     <td class="features" style="font-variant-caps: small-caps;">
113         <span title="smcp=1"></span>
114         <span title="c2sc=0"></span>
115     </td>
116 </tr>
117 <tr>
118     <td class="features" style="font-variant-caps: all-small-caps;">
119         <span title="smcp=1"></span>
120         <span title="c2sc=1"></span>
121         <span title="pcap=0"></span>
122     </td>
123 </tr>
124 <tr>
125     <td class="features" style="font-variant-caps: petite-caps;">
126         <span title="pcap=1"></span>
127         <span title="smcp=0"></span>
128     </td>
129 </tr>
130 <tr>
131     <td class="features" style="font-variant-caps: all-petite-caps;">
132         <span title="c2pc=1"></span>
133         <span title="pcap=1"></span>
134         <span title="smcp=0"></span>
135     </td>
136 </tr>
137 <tr>
138     <td class="features" style="font-variant-caps: titling-caps;">
139         <span title="titl=1"></span>
140         <span title="smcp=0"></span>
141     </td>
142 </tr>
143 <tr>
144     <td class="features" style="font-variant-caps: unicase;">
145         <span title="unic=1"></span>
146         <span title="titl=0"></span>
147     </td>
148 </tr>
149 <tr class="invalid">
150     <td class="features">
151         <span title="smcp=0"></span>
152     </td>
153 </tr>
154 <tr class="invalid">
155     <td class="features">
156         <span title="smcp=0"></span>
157     </td>
158 </tr>
159 <tr class="invalid">
160     <td class="features">
161         <span title="smcp=0"></span>
162         <span title="pcap=0"></span>
163     </td>
164 </tr>
165 <tr class="invalid">
166     <td class="features">
167         <span title="smcp=0"></span>
168         <span title="c2sc=0"></span>
169     </td>
170 </tr>
171 <tr class="invalid">
172     <td class="features">
173         <span title="smcp=0"></span>
174     </td>
175 </tr>
176 </table>
177 </div>
178
179 </body>
180 </html>