/[suikacvs]/markup/html/whatpm/t/css-font.dat
Suika

Contents of /markup/html/whatpm/t/css-font.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Jan 26 05:11:01 2008 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.1: +46 -0 lines
++ whatpm/t/ChangeLog	26 Jan 2008 05:10:58 -0000
	* css-1.dat: Some test results were incorrect.

	* css-font.dat: New test data on 'font' are added.

	* css-visual.dat: Some test results were incorrect.  New
	test data on 'margin' are added.

2008-01-26  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/CSS/ChangeLog	26 Jan 2008 05:09:37 -0000
	* Parser.pm (serialize_shorthand, serialize_multiple): The
	leading | ! |s in the priority part were removed (now they
	are added by |css_text| attribute implementation).
	(border-width, border-style, border-color serialize_shorthand): Typo
	fixed.

2008-01-26  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.1 #html 1
2     <!DOCTYPE HTML><p>
3    
4     #data
5     p {
6     font-family: serif;
7     }
8     #cssom
9     | <p>
10     | font-family: serif
11     #csstext
12     p {
13     font-family: serif;
14     }
15    
16     #data
17     p {
18     font-family: a,serif;
19     }
20     #cssom
21     | <p>
22     | font-family: "a", serif
23     #csstext
24     p {
25     font-family: "a", serif;
26     }
27    
28     #data
29     p {
30     font-family: serif,a;
31     }
32     #cssom
33     | <p>
34     | font-family: serif, "a"
35     #csstext
36     p {
37     font-family: serif, "a";
38     }
39    
40     #data
41     p {
42     font-family: serifA;
43     }
44     #cssom
45     | <p>
46     | font-family: "serifA"
47     #csstext
48     p {
49     font-family: "serifA";
50     }
51    
52     #data
53     p {
54     font-family: inherit;
55     }
56     #cssom
57     | <p>
58     | font-family: inherit
59     #csstext
60     p {
61     font-family: inherit;
62     }
63     #computed 1 p
64     #computedtext 1 p
65    
66     #data
67     p {
68     font-family: inherit, a;
69     }
70     #cssom
71     | <p>
72     | font-family: "inherit", "a"
73     #csstext
74     p {
75     font-family: "inherit", "a";
76     }
77    
78     #data
79     p {
80     font-family: a,inherit;
81     }
82     #cssom
83     | <p>
84     | font-family: "a", "inherit"
85     #csstext
86     p {
87     font-family: "a", "inherit";
88     }
89    
90     #data
91     p {
92     font-family: "inherit";
93     }
94     #cssom
95     | <p>
96     | font-family: "inherit"
97     #csstext
98     p {
99     font-family: "inherit";
100     }
101    
102     #data
103     p {
104     font-family: inherit a;
105     }
106     #cssom
107     | <p>
108     | font-family: "inherit a"
109     #csstext
110     p {
111     font-family: "inherit a";
112     }
113    
114     #data
115     p {
116     font: 1px serif;
117     }
118     #cssom
119     | <p>
120     | font: 1px serif
121     | font-family: serif
122     | font-size: 1px
123     | font-style: normal
124     | font-variant: normal
125     | font-weight: normal
126     | line-height: normal
127     #csstext
128     p {
129     font-family: serif;
130     font-size: 1px;
131     font-style: normal;
132     font-variant: normal;
133     font-weight: normal;
134     line-height: normal;
135     }
136    
137     #data
138     p {
139 wakaba 1.2 font: 1px serif !important;
140     }
141     #cssom
142     | <p>
143     | font: 1px serif !important
144     | font-family: serif !important
145     | font-size: 1px !important
146     | font-style: normal !important
147     | font-variant: normal !important
148     | font-weight: normal !important
149     | line-height: normal !important
150     #csstext
151     p {
152     font-family: serif ! important;
153     font-size: 1px ! important;
154     font-style: normal ! important;
155     font-variant: normal ! important;
156     font-weight: normal ! important;
157     line-height: normal ! important;
158     }
159    
160     #data
161     p {
162 wakaba 1.1 font: 1px inherit;
163     }
164     #cssom
165     | <p>
166     | font: 1px "inherit"
167     | font-family: "inherit"
168     | font-size: 1px
169     | font-style: normal
170     | font-variant: normal
171     | font-weight: normal
172     | line-height: normal
173     #csstext
174     p {
175     font-family: "inherit";
176     font-size: 1px;
177     font-style: normal;
178     font-variant: normal;
179     font-weight: normal;
180     line-height: normal;
181     }
182    
183     #data
184     p {
185     font: normal 1px -manakai-default;
186     }
187     #cssom
188     | <p>
189     | font: 1px -manakai-default
190     | font-family: -manakai-default
191     | font-size: 1px
192     | font-style: normal
193     | font-variant: normal
194     | font-weight: normal
195     | line-height: normal
196     #csstext
197     p {
198     font-family: -manakai-default;
199     font-size: 1px;
200     font-style: normal;
201     font-variant: normal;
202     font-weight: normal;
203     line-height: normal;
204     }
205    
206     #data
207     p {
208     font: bolder 1px Courier New;
209     }
210     #cssom
211     | <p>
212     | font: bolder 1px "Courier New"
213     | font-family: "Courier New"
214     | font-size: 1px
215     | font-style: normal
216     | font-variant: normal
217     | font-weight: bolder
218     | line-height: normal
219     #csstext
220     p {
221     font-family: "Courier New";
222     font-size: 1px;
223     font-style: normal;
224     font-variant: normal;
225     font-weight: bolder;
226     line-height: normal;
227     }
228    
229     #data
230     p {
231     font: inherit;
232     }
233     #cssom
234     | <p>
235     | font: inherit
236     | font-family: inherit
237     | font-size: inherit
238     | font-style: inherit
239     | font-variant: inherit
240     | font-weight: inherit
241     | line-height: inherit
242     #csstext
243     p {
244     font-family: inherit;
245     font-size: inherit;
246     font-style: inherit;
247     font-variant: inherit;
248     font-weight: inherit;
249     line-height: inherit;
250 wakaba 1.2 }
251    
252     #data
253     p {
254     font: inherit !important;
255     }
256     #cssom
257     | <p>
258     | font: inherit !important
259     | font-family: inherit !important
260     | font-size: inherit !important
261     | font-style: inherit !important
262     | font-variant: inherit !important
263     | font-weight: inherit !important
264     | line-height: inherit !important
265     #csstext
266     p {
267     font-family: inherit ! important;
268     font-size: inherit ! important;
269     font-style: inherit ! important;
270     font-variant: inherit ! important;
271     font-weight: inherit ! important;
272     line-height: inherit ! important;
273 wakaba 1.1 }
274    
275     #data
276     p {
277     font: inherit;
278     font-family: "inherit";
279     }
280     #cssom
281     | <p>
282     | font-family: "inherit"
283     | font-size: inherit
284     | font-style: inherit
285     | font-variant: inherit
286     | font-weight: inherit
287     | line-height: inherit
288     #csstext
289     p {
290     font-family: "inherit";
291     font-size: inherit;
292     font-style: inherit;
293     font-variant: inherit;
294     font-weight: inherit;
295     line-height: inherit;
296     }
297    
298     #data
299     p {
300     font: inherit;
301     font-size: 16px;
302     }
303     #cssom
304     | <p>
305     | font-family: inherit
306     | font-size: 16px
307     | font-style: inherit
308     | font-variant: inherit
309     | font-weight: inherit
310     | line-height: inherit
311     #csstext
312     p {
313     font-family: inherit;
314     font-size: 16px;
315     font-style: inherit;
316     font-variant: inherit;
317     font-weight: inherit;
318     line-height: inherit;
319     }
320    
321     #data
322     p {
323     font: inherit;
324     font-variant: inherit ! important;
325     }
326     #cssom
327     | <p>
328     | font-family: inherit
329     | font-size: inherit
330     | font-style: inherit
331     | font-variant: inherit !important
332     | font-weight: inherit
333     | line-height: inherit
334     #csstext
335     p {
336     font-family: inherit;
337     font-size: inherit;
338     font-style: inherit;
339     font-variant: inherit ! important;
340     font-weight: inherit;
341     line-height: inherit;
342     }
343    
344     #data
345     p {
346     font: inherit;
347     font-weight: bolder;
348     }
349     #cssom
350     | <p>
351     | font-family: inherit
352     | font-size: inherit
353     | font-style: inherit
354     | font-variant: inherit
355     | font-weight: bolder
356     | line-height: inherit
357     #csstext
358     p {
359     font-family: inherit;
360     font-size: inherit;
361     font-style: inherit;
362     font-variant: inherit;
363     font-weight: bolder;
364     line-height: inherit;
365     }
366    
367    
368    
369    
370    
371    
372    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24