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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Mon Jan 28 13:13:25 2008 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.2: +408 -0 lines
++ whatpm/t/ChangeLog	28 Jan 2008 13:13:16 -0000
2008-01-28  Wakaba  <wakaba@suika.fam.cx>

	* CSS-Parser-1.t: 'content' added to the list of supported
	property and the list of initial values.

	* css-generated.dat: Tests for 'content' are added.

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

	* CSS-Parser-1.t: Loads test files as UTF-8.

	* css-generated.dat: Semi-real-world test data for 'quotes' are added.

++ whatpm/Whatpm/CSS/ChangeLog	28 Jan 2008 13:11:50 -0000
2008-01-28  Wakaba  <wakaba@suika.fam.cx>

	* Parser.pm ($default_serializer): New 'CONTENT' type supported.
	('content'): Implemented.

1 wakaba 1.2 #html 1
2     <!DOCTYPE HTML><p>
3    
4     #data
5     p {
6 wakaba 1.3 content: normal;
7     }
8     #cssom
9     | <p>
10     | content: normal
11     #csstext
12     p {
13     content: normal;
14     }
15    
16     #data
17     p {
18     content: normal "none";
19     }
20     #errors
21     ;2;19;m;no property semicolon
22     #cssom
23     | <p>
24    
25     #data
26     p {
27     content: none;
28     }
29     #cssom
30     | <p>
31     | content: none
32     #csstext
33     p {
34     content: none;
35     }
36    
37     #data
38     p {
39     content: inherit;
40     }
41     #cssom
42     | <p>
43     | content: inherit
44     #csstext
45     p {
46     content: inherit;
47     }
48    
49     #data
50     p {
51     content: "a";
52     }
53     #cssom
54     | <p>
55     | content: "a"
56     #csstext
57     p {
58     content: "a";
59     }
60    
61     #data
62     p {
63     content: "a" "" "n";
64     }
65     #cssom
66     | <p>
67     | content: "a" "" "n"
68     #csstext
69     p {
70     content: "a" "" "n";
71     }
72    
73     #data
74     p {
75     content: """";
76     }
77     #cssom
78     | <p>
79     | content: "" ""
80     #csstext
81     p {
82     content: "" "";
83     }
84    
85     #data
86     p {
87     content: "normal", "none";
88     }
89     #errors
90     ;2;20;m;no property semicolon
91     #cssom
92     | <p>
93    
94     #data
95     p {
96     content: url(a);
97     }
98     #cssom
99     | <p>
100     | content: url(a)
101     #csstext
102     p {
103     content: url(a);
104     }
105    
106     #data
107     p {
108     content: "IMAGE: " url(image);
109     }
110     #cssom
111     | <p>
112     | content: "IMAGE: " url(image)
113     #csstext
114     p {
115     content: "IMAGE: " url(image);
116     }
117    
118     #data
119     p {
120     content: counter(aBc);
121     }
122     #cssom
123     | <p>
124     | content: counter(aBc, decimal)
125     #csstext
126     p {
127     content: counter(aBc, decimal);
128     }
129    
130     #data
131     p {
132     content: counter(a, circlE);
133     }
134     #cssom
135     | <p>
136     | content: counter(a, circle)
137     #csstext
138     p {
139     content: counter(a, circle);
140     }
141    
142     #data
143     p {
144     content: counter(a, normal);
145     }
146     #errors
147     ;2;23;m;syntax error:'content'
148     #cssom
149     | <p>
150    
151     #data
152     p {
153     content: counter(chapter/* Chapter # */ ) "." counter(section /* # */ );
154     }
155     #cssom
156     | <p>
157     | content: counter(chapter, decimal) "." counter(section, decimal)
158     #csstext
159     p {
160     content: counter(chapter, decimal) "." counter(section, decimal);
161     }
162    
163     #data
164     p {
165     content: counter(a, "b");
166     }
167     #errors
168     ;2;23;m;syntax error:'content'
169     #cssom
170     | <p>
171    
172     #data
173     p {
174     content: counter(a, "b", decimal);
175     }
176     #errors
177     ;2;23;m;syntax error:'content'
178     #cssom
179     | <p>
180    
181     #data
182     p {
183     content: counters(a);
184     }
185     #errors
186     ;2;22;m;syntax error:'content'
187     #cssom
188     | <p>
189    
190     #data
191     p {
192     content: counters(a, decimal);
193     }
194     #errors
195     ;2;24;m;syntax error:'content'
196     #cssom
197     | <p>
198    
199     #data
200     p {
201     content: counters(a, "b");
202     }
203     #cssom
204     | <p>
205     | content: counters(a, "b", decimal)
206     #csstext
207     p {
208     content: counters(a, "b", decimal);
209     }
210    
211     #data
212     p {
213     content: counters(a, "b", SQUARE);
214     }
215     #cssom
216     | <p>
217     | content: counters(a, "b", square)
218     #csstext
219     p {
220     content: counters(a, "b", square);
221     }
222    
223     #data
224     p {
225     content: counters(a, "b", none);
226     }
227     #cssom
228     | <p>
229     | content: counters(a, "b", none)
230     #csstext
231     p {
232     content: counters(a, "b", none);
233     }
234    
235     #data
236     p {
237     content: counters(a, "b", c);
238     }
239     #errors
240     ;2;29;m;syntax error:'content'
241     #cssom
242     | <p>
243    
244     #data
245     p {
246     content: counters(a, "b", inherit);
247     }
248     #errors
249     ;2;29;m;syntax error:'content'
250     #cssom
251     | <p>
252    
253     #data
254     p {
255     content: attr(a);
256     }
257     #cssom
258     | <p>
259     | content: attr(a)
260     #csstext
261     p {
262     content: attr(a);
263     }
264    
265     #data
266     p {
267     content: attr(aLign);
268     }
269     #cssom
270     | <p>
271     | content: attr(aLign)
272     #csstext
273     p {
274     content: attr(aLign);
275     }
276    
277     #data
278     p {
279     content: attr(a, b);
280     }
281     #errors
282     ;2;18;m;syntax error:'content'
283     #cssom
284     | <p>
285    
286     #data
287     p {
288     content: attr(|a);
289     }
290     #cssom
291     | <p>
292     | content: attr(a)
293     #csstext
294     p {
295     content: attr(a);
296     }
297    
298     #data
299     p {
300     content: attr(a|);
301     }
302     #errors
303     ;2;19;m;syntax error:'content'
304     #cssom
305     | <p>
306    
307     #data
308     p {
309     content: attr(a||b);
310     }
311     #errors
312     ;2;19;m;syntax error:'content'
313     #cssom
314     | <p>
315    
316     #data
317     p {
318     content: "[title:"attr(title )"]";
319     }
320     #cssom
321     | <p>
322     | content: "[title:" attr(title) "]"
323     #csstext
324     p {
325     content: "[title:" attr(title) "]";
326     }
327    
328     #data
329     p {
330     content: open-quote;
331     }
332     #cssom
333     | <p>
334     | content: open-quote
335     #csstext
336     p {
337     content: open-quote;
338     }
339    
340     #data
341     p {
342     content: close-quote;
343     }
344     #cssom
345     | <p>
346     | content: close-quote
347     #csstext
348     p {
349     content: close-quote;
350     }
351    
352     #data
353     p {
354     content: no-open-quote;
355     }
356     #cssom
357     | <p>
358     | content: no-open-quote
359     #csstext
360     p {
361     content: no-open-quote;
362     }
363    
364     #data
365     p {
366     content: no-close-quote;
367     }
368     #cssom
369     | <p>
370     | content: no-close-quote
371     #csstext
372     p {
373     content: no-close-quote;
374     }
375    
376     #data
377     p {
378     content: open-quote"QUOTE:";
379     }
380     #cssom
381     | <p>
382     | content: open-quote "QUOTE:"
383     #csstext
384     p {
385     content: open-quote "QUOTE:";
386     }
387    
388     #data
389     p {
390 wakaba 1.2 quotes:;
391     }
392     #errors
393     ;2;10;m;syntax error:'quotes'
394     #cssom
395     | <p>
396    
397     #data
398     p {
399     quotes: none;
400     }
401     #cssom
402     | <p>
403     | quotes: none
404     #csstext
405     p {
406     quotes: none;
407     }
408     #computed 1 p
409     -| quotes: -manakai-default
410     +| quotes: none
411     #computedtext 1 p
412     - quotes: -manakai-default;
413     + quotes: none;
414    
415     #data
416     p {
417     quotes: none !important;
418     }
419     #cssom
420     | <p>
421     | quotes: none !important
422     #csstext
423     p {
424     quotes: none ! important;
425     }
426    
427     #data
428     p {
429     quotes: noNe;
430     }
431     #cssom
432     | <p>
433     | quotes: none
434     #csstext
435     p {
436     quotes: none;
437     }
438    
439     #data
440     p {
441     quotes: -manakai-default;
442     }
443     #cssom
444     | <p>
445     | quotes: -manakai-default
446     #csstext
447     p {
448     quotes: -manakai-default;
449     }
450     #computed 1 p
451     #computedtext 1 p
452    
453     #data
454     p {
455     quotes: -MANAKAI-default;
456     }
457     #cssom
458     | <p>
459     | quotes: -manakai-default
460     #csstext
461     p {
462     quotes: -manakai-default;
463     }
464    
465     #data
466     p {
467     quotes: -manakai-default ! important;
468     }
469     #cssom
470     | <p>
471     | quotes: -manakai-default !important
472     #csstext
473     p {
474     quotes: -manakai-default ! important;
475     }
476    
477     #data
478     p {
479     quotes: inherit;
480     }
481     #cssom
482     | <p>
483     | quotes: inherit
484     #csstext
485     p {
486     quotes: inherit;
487     }
488     #computed 1 p
489     #computedtext 1 p
490    
491     #data
492     p {
493     quotes: INHERIt;
494     }
495     #cssom
496     | <p>
497     | quotes: inherit
498     #csstext
499     p {
500     quotes: inherit;
501     }
502    
503     #data
504     p {
505     quotes: inherit ! important;
506     }
507     #cssom
508     | <p>
509     | quotes: inherit !important
510     #csstext
511     p {
512     quotes: inherit ! important;
513     }
514    
515     #data
516     p {
517     quotes: "1";
518     }
519     #errors
520     ;2;14;m;syntax error:'quotes'
521     #cssom
522     | <p>
523    
524     #data
525     p {
526     quotes: "1" "2";
527     }
528     #cssom
529     | <p>
530     | quotes: "1" "2"
531     #csstext
532     p {
533     quotes: "1" "2";
534     }
535     #computed 1 p
536     -| quotes: -manakai-default
537     +| quotes: "1" "2"
538     #computedtext 1 p
539     - quotes: -manakai-default;
540     + quotes: "1" "2";
541    
542     #data
543     p {
544     quotes: "1""2";
545     }
546     #cssom
547     | <p>
548     | quotes: "1" "2"
549     #csstext
550     p {
551     quotes: "1" "2";
552     }
553    
554     #data
555     p {
556     quotes: "1"/**/"2";
557     }
558     #cssom
559     | <p>
560     | quotes: "1" "2"
561     #csstext
562     p {
563     quotes: "1" "2";
564     }
565    
566     #data
567     p {
568     quotes: "1", "2";
569     }
570     #errors
571     ;2;14;m;syntax error:'quotes'
572     #cssom
573     | <p>
574 wakaba 1.3
575     #data
576     p {
577     quotes: "「" "」" "『" "』";
578     }
579     #cssom
580     | <p>
581     | quotes: "「" "」" "『" "』"
582     #csstext
583     p {
584     quotes: "「" "」" "『" "』";
585     }
586    
587     #data
588     p {
589     quotes: '"' '"' "'" "'";
590     }
591     #cssom
592     | <p>
593     | quotes: """ """ "'" "'"
594     #csstext
595     p {
596     quotes: """ """ "'" "'";
597     }
598 wakaba 1.2
599     #data
600     p {
601     quotes: "1" "2" "3";
602     }
603     #errors
604     ;2;22;m;syntax error:'quotes'
605     #cssom
606     | <p>
607    
608     #data
609     p {
610     quotes: "1" "2" "3" "4";
611     }
612     #cssom
613     | <p>
614     | quotes: "1" "2" "3" "4"
615     #csstext
616     p {
617     quotes: "1" "2" "3" "4";
618     }
619    
620     #data
621     p {
622     quotes: "1" "2" "3" "4" "5" "6";
623     }
624     #cssom
625     | <p>
626     | quotes: "1" "2" "3" "4" "5" "6"
627     #csstext
628     p {
629     quotes: "1" "2" "3" "4" "5" "6";
630     }
631    
632     #data
633     p {
634     quotes: 1 2;
635     }
636     #errors
637     ;2;11;m;syntax error:'quotes'
638     #cssom
639     | <p>
640    
641 wakaba 1.1 #data
642     p {
643     list-style: none;
644     }
645     #cssom
646     | <p>
647     | list-style: none none outside
648     | list-style-image: none
649     | list-style-position: outside
650     | list-style-type: none
651     #csstext
652     p {
653     list-style-image: none;
654     list-style-position: outside;
655     list-style-type: none;
656     }
657    
658    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24