/[suikacvs]/markup/html/whatpm/t/dom-conformance/html-form-textarea.dat
Suika

Contents of /markup/html/whatpm/t/dom-conformance/html-form-textarea.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Dec 12 11:50:47 2008 UTC (17 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.1: +408 -0 lines
++ whatpm/t/dom-conformance/ChangeLog	12 Dec 2008 11:50:40 -0000
	* html-datatemplate.dat, html-form-datalist.dat: Updated test
	results related to |optgroup| elements.

	* html-form-textarea.dat: Added new test data.

	* html-forms-1.dat: Moved some test data to
	|html-form-textarea.dat|.  Updated test results related to
	|optgroup| elements.

2008-12-12  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	12 Dec 2008 11:48:16 -0000
	* ContentChecker.pm: Introduced |check_attrs2| method for the ease
	of defining codes for checking required attribute and as such.

2008-12-12  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ContentChecker/ChangeLog	12 Dec 2008 11:48:45 -0000
	* HTML.pm: Updated definitions for |datalist|, |optgroup|,
	|option|, and |textarea| elements.

2008-12-12  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.1 #data
2 wakaba 1.2 <textarea xmlns="http://www.w3.org/1999/xhtml"></textarea>
3     #errors
4    
5     #data
6     <textarea xmlns="http://www.w3.org/1999/xhtml"> </textarea>
7     #errors
8    
9     #data
10     <textarea xmlns="http://www.w3.org/1999/xhtml">xxxx</textarea>
11     #errors
12    
13     #data
14     <textarea xmlns="http://www.w3.org/1999/xhtml"><em>a</em></textarea>
15     #errors
16     /textarea/em;element not allowed:text;m
17    
18     #data
19     <textarea xmlns="http://www.w3.org/1999/xhtml"><title>x</title></textarea>
20     #errors
21     /textarea/title;element not allowed:text;m
22    
23     #data
24     <textarea xmlns="http://www.w3.org/1999/xhtml">aa<br/>bb</textarea>
25     #errors
26     /textarea/br;element not allowed:text;m
27    
28     #data
29     <textarea xmlns="http://www.w3.org/1999/xhtml"><nest/></textarea>
30     #errors
31     /textarea/nest;element not allowed:text;m
32    
33     #data
34     <em xmlns="http://www.w3.org/1999/xhtml"><textarea/></em>
35     #errors
36     /em;no significant content;s
37    
38     #data
39     <p xmlns="http://www.w3.org/1999/xhtml"><textarea/></p>
40     #errors
41     /p;no significant content;s
42    
43     #data
44     <div xmlns="http://www.w3.org/1999/xhtml"><textarea/></div>
45     #errors
46     /div;no significant content;s
47    
48     #data
49 wakaba 1.1 <textarea xmlns="http://www.w3.org/1999/xhtml"
50     pattern="">x</textarea>
51     #errors
52     /textarea/@pattern;SUBDOC
53     /textarea/@pattern;attribute not defined;m
54     /textarea;attribute missing;title;s
55    
56     #data
57     <textarea xmlns="http://www.w3.org/1999/xhtml"
58     pattern="" title="empty">x</textarea>
59     #errors
60     /textarea/@pattern;SUBDOC
61     /textarea/@pattern;attribute not defined;m
62 wakaba 1.2
63     #data
64     <textarea xmlns="http://www.w3.org/1999/xhtml"
65     autofocus=""
66     >a</textarea>
67     #errors
68    
69     #data
70     <textarea xmlns="http://www.w3.org/1999/xhtml"
71     autofocus="autofocus"
72     >a</textarea>
73     #errors
74    
75     #data
76     <textarea xmlns="http://www.w3.org/1999/xhtml"
77     autofocus="AUTOfocus"
78     >a</textarea>
79     #errors
80    
81     #data
82     <textarea xmlns="http://www.w3.org/1999/xhtml"
83     autofocus="auto"
84     >a</textarea>
85     #errors
86     /textarea/@autofocus;boolean:invalid;m
87    
88     #data
89     <textarea xmlns="http://www.w3.org/1999/xhtml"
90     autofocus="no"
91     >a</textarea>
92     #errors
93     /textarea/@autofocus;boolean:invalid;m
94    
95     #data
96     <textarea xmlns="http://www.w3.org/1999/xhtml"
97     readonly=""
98     >a</textarea>
99     #errors
100    
101     #data
102     <textarea xmlns="http://www.w3.org/1999/xhtml"
103     readonly="ReadOnly"
104     >a</textarea>
105     #errors
106    
107     #data
108     <textarea xmlns="http://www.w3.org/1999/xhtml"
109     readonly="readonly"
110     >a</textarea>
111     #errors
112    
113     #data
114     <textarea xmlns="http://www.w3.org/1999/xhtml"
115     readonly="yes"
116     >a</textarea>
117     #errors
118     /textarea/@readonly;boolean:invalid;m
119    
120     #data
121     <textarea xmlns="http://www.w3.org/1999/xhtml"
122     cols=""
123     >a</textarea>
124     #errors
125     /textarea/@cols;nninteger:syntax error;m
126    
127     #data
128     <textarea xmlns="http://www.w3.org/1999/xhtml"
129     cols="0"
130     >a</textarea>
131     #errors
132     /textarea/@cols;nninteger:out of range;m
133    
134     #data
135     <textarea xmlns="http://www.w3.org/1999/xhtml"
136     cols="1"
137     >a</textarea>
138     #errors
139    
140     #data
141     <textarea xmlns="http://www.w3.org/1999/xhtml"
142     cols="000020"
143     >a</textarea>
144     #errors
145    
146     #data
147     <textarea xmlns="http://www.w3.org/1999/xhtml"
148     cols="10.0"
149     >a</textarea>
150     #errors
151     /textarea/@cols;nninteger:syntax error;m
152    
153     #data
154     <textarea xmlns="http://www.w3.org/1999/xhtml"
155     cols="+10"
156     >a</textarea>
157     #errors
158     /textarea/@cols;nninteger:syntax error;m
159    
160     #data
161     <textarea xmlns="http://www.w3.org/1999/xhtml"
162     cols="-100"
163     >a</textarea>
164     #errors
165     /textarea/@cols;nninteger:syntax error;m
166    
167     #data
168     <textarea xmlns="http://www.w3.org/1999/xhtml"
169     cols="auto"
170     >a</textarea>
171     #errors
172     /textarea/@cols;nninteger:syntax error;m
173    
174     #data
175     <textarea xmlns="http://www.w3.org/1999/xhtml"
176     rows=""
177     >a</textarea>
178     #errors
179     /textarea/@rows;nninteger:syntax error;m
180    
181     #data
182     <textarea xmlns="http://www.w3.org/1999/xhtml"
183     rows="0"
184     >a</textarea>
185     #errors
186     /textarea/@rows;nninteger:out of range;m
187    
188     #data
189     <textarea xmlns="http://www.w3.org/1999/xhtml"
190     rows="1"
191     >a</textarea>
192     #errors
193    
194     #data
195     <textarea xmlns="http://www.w3.org/1999/xhtml"
196     rows="000020"
197     >a</textarea>
198     #errors
199    
200     #data
201     <textarea xmlns="http://www.w3.org/1999/xhtml"
202     rows="10.0"
203     >a</textarea>
204     #errors
205     /textarea/@rows;nninteger:syntax error;m
206    
207     #data
208     <textarea xmlns="http://www.w3.org/1999/xhtml"
209     rows="+10"
210     >a</textarea>
211     #errors
212     /textarea/@rows;nninteger:syntax error;m
213    
214     #data
215     <textarea xmlns="http://www.w3.org/1999/xhtml"
216     rows="-100"
217     >a</textarea>
218     #errors
219     /textarea/@rows;nninteger:syntax error;m
220    
221     #data
222     <textarea xmlns="http://www.w3.org/1999/xhtml"
223     rows="auto"
224     >a</textarea>
225     #errors
226     /textarea/@rows;nninteger:syntax error;m
227    
228     #data
229     <textarea xmlns="http://www.w3.org/1999/xhtml"
230     wrap=""
231     >a</textarea>
232     #errors
233     /textarea/@wrap;enumerated:invalid;m
234    
235     #data
236     <textarea xmlns="http://www.w3.org/1999/xhtml"
237     wrap="soft"
238     >a</textarea>
239     #errors
240    
241     #data
242     <textarea xmlns="http://www.w3.org/1999/xhtml"
243     wrap="hard"
244     >a</textarea>
245     #errors
246     /textarea;attribute missing;cols;m
247    
248     #data
249     <textarea xmlns="http://www.w3.org/1999/xhtml"
250     wrap="Soft"
251     >a</textarea>
252     #errors
253    
254     #data
255     <textarea xmlns="http://www.w3.org/1999/xhtml"
256     wrap="Hard"
257     >a</textarea>
258     #errors
259     /textarea;attribute missing;cols;m
260    
261     #data
262     <textarea xmlns="http://www.w3.org/1999/xhtml"
263     wrap="SOFT"
264     >a</textarea>
265     #errors
266    
267     #data
268     <textarea xmlns="http://www.w3.org/1999/xhtml"
269     wrap="HARD"
270     >a</textarea>
271     #errors
272     /textarea;attribute missing;cols;m
273    
274     #data
275     <textarea xmlns="http://www.w3.org/1999/xhtml"
276     wrap="on"
277     >a</textarea>
278     #errors
279     /textarea/@wrap;enumerated:invalid;m
280    
281     #data
282     <textarea xmlns="http://www.w3.org/1999/xhtml"
283     wrap="off"
284     >a</textarea>
285     #errors
286     /textarea/@wrap;enumerated:invalid;m
287    
288     #data
289     <textarea xmlns="http://www.w3.org/1999/xhtml"
290     wrap="physical"
291     >a</textarea>
292     #errors
293     /textarea/@wrap;enumerated:invalid;m
294    
295     #data
296     <textarea xmlns="http://www.w3.org/1999/xhtml"
297     wrap="logical"
298     >a</textarea>
299     #errors
300     /textarea/@wrap;enumerated:invalid;m
301    
302     #data
303     <textarea xmlns="http://www.w3.org/1999/xhtml"
304     wrap="software"
305     >a</textarea>
306     #errors
307     /textarea/@wrap;enumerated:invalid;m
308    
309     #data
310     <textarea xmlns="http://www.w3.org/1999/xhtml"
311     wrap="wrap"
312     >a</textarea>
313     #errors
314     /textarea/@wrap;enumerated:invalid;m
315    
316     #data
317     <textarea xmlns="http://www.w3.org/1999/xhtml"
318     wrap="hard" cols="1"
319     >a</textarea>
320     #errors
321    
322     #data
323     <textarea xmlns="http://www.w3.org/1999/xhtml"
324     maxlength=""
325     ></textarea>
326     #errors
327     /textarea/@maxlength;nninteger:syntax error;m
328    
329     #data
330     <textarea xmlns="http://www.w3.org/1999/xhtml"
331     maxlength="0"
332     ></textarea>
333     #errors
334    
335     #data
336     <textarea xmlns="http://www.w3.org/1999/xhtml"
337     maxlength="1"
338     ></textarea>
339     #errors
340    
341     #data
342     <textarea xmlns="http://www.w3.org/1999/xhtml"
343     maxlength="+0"
344     ></textarea>
345     #errors
346     /textarea/@maxlength;nninteger:syntax error;m
347    
348     #data
349     <textarea xmlns="http://www.w3.org/1999/xhtml"
350     maxlength="-0"
351     ></textarea>
352     #errors
353     /textarea/@maxlength;nninteger:syntax error;m
354    
355     #data
356     <textarea xmlns="http://www.w3.org/1999/xhtml"
357     maxlength="-100"
358     ></textarea>
359     #errors
360     /textarea/@maxlength;nninteger:syntax error;m
361    
362     #data
363     <textarea xmlns="http://www.w3.org/1999/xhtml"
364     maxlength="10.0"
365     ></textarea>
366     #errors
367     /textarea/@maxlength;nninteger:syntax error;m
368    
369     #data
370     <textarea xmlns="http://www.w3.org/1999/xhtml"
371     maxlength="10"
372     >1234567890</textarea>
373     #errors
374    
375     #data
376     <textarea xmlns="http://www.w3.org/1999/xhtml"
377     maxlength="6"
378     >1234567890</textarea>
379     #errors
380     /textarea;value too long;m
381    
382     #data
383     <textarea xmlns="http://www.w3.org/1999/xhtml"
384     required=""
385     >1234567890</textarea>
386     #errors
387    
388     #data
389     <textarea xmlns="http://www.w3.org/1999/xhtml"
390     required="required"
391     >1234567890</textarea>
392     #errors
393    
394     #data
395     <textarea xmlns="http://www.w3.org/1999/xhtml"
396     required="RequiRED"
397     >1234567890</textarea>
398     #errors
399    
400     #data
401     <textarea xmlns="http://www.w3.org/1999/xhtml"
402     required="yes"
403     >1234567890</textarea>
404     #errors
405     /textarea/@required;boolean:invalid;m
406    
407     #data
408     <textarea xmlns="http://www.w3.org/1999/xhtml"
409     pattern=""
410     >1234567890</textarea>
411     #errors
412     /textarea/@pattern;attribute not defined;m
413     /textarea/@pattern;SUBDOC
414     /textarea;attribute missing;title;s
415    
416     #data
417     <textarea xmlns="http://www.w3.org/1999/xhtml"
418     pattern="(?!x)" title="x"
419     >1234567890</textarea>
420     #errors
421     /textarea/@pattern;attribute not defined;m
422     /textarea/@pattern;SUBDOC

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24