/[suikacvs]/markup/html/whatpm/t/tree-construction/tests3.dat
Suika

Contents of /markup/html/whatpm/t/tree-construction/tests3.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Sun Apr 13 06:44:27 2008 UTC (16 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.5: +1 -0 lines
++ whatpm/t/ChangeLog	13 Apr 2008 06:43:36 -0000
	* HTML-tokenizer.t, HTML-tree.t, Makefile: Support for html5lib
	new test files.

2008-04-13  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	13 Apr 2008 06:44:17 -0000
	* mkentitylist.pl: Support for new HTML5 entity table format (the
	definition for |AElig;| was missing).

2008-04-13  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.1 #data
2     <head></head><style></style>
3     #errors
4 wakaba 1.4 Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
5     Line: 1 Col: 20 Unexpected start tag (style) that can be in head. Moved.
6 wakaba 1.1 #document
7     | <html>
8     | <head>
9     | <style>
10     | <body>
11    
12     #data
13     <head></head><script></script>
14     #errors
15 wakaba 1.4 Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
16     Line: 1 Col: 21 Unexpected start tag (script) that can be in head. Moved.
17 wakaba 1.1 #document
18     | <html>
19     | <head>
20     | <script>
21     | <body>
22    
23     #data
24     <head></head><!-- --><style></style><!-- --><script></script>
25     #errors
26 wakaba 1.4 Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
27     Line: 1 Col: 28 Unexpected start tag (style) that can be in head. Moved.
28 wakaba 1.6 Line: 1 Col: 52 Unexpected start tag (script) that can be in head. Moved.
29 wakaba 1.1 #document
30     | <html>
31     | <head>
32     | <style>
33     | <script>
34     | <!-- -->
35     | <!-- -->
36     | <body>
37    
38     #data
39     <head></head><!-- -->x<style></style><!-- --><script></script>
40     #errors
41 wakaba 1.4 Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
42 wakaba 1.1 #document
43     | <html>
44     | <head>
45     | <!-- -->
46     | <body>
47     | "x"
48     | <style>
49     | <!-- -->
50     | <script>
51    
52     #data
53 wakaba 1.5 <!DOCTYPE html><html><head></head><body><pre>
54 wakaba 1.1 </pre></body></html>
55     #errors
56     #document
57 wakaba 1.5 | <!DOCTYPE html>
58 wakaba 1.1 | <html>
59     | <head>
60     | <body>
61     | <pre>
62    
63     #data
64 wakaba 1.5 <!DOCTYPE html><html><head></head><body><pre>
65 wakaba 1.1 foo</pre></body></html>
66     #errors
67     #document
68 wakaba 1.5 | <!DOCTYPE html>
69 wakaba 1.1 | <html>
70     | <head>
71     | <body>
72     | <pre>
73     | "foo"
74    
75 wakaba 1.3 #data
76 wakaba 1.5 <!DOCTYPE html><html><head></head><body><pre>
77 wakaba 1.3
78     foo</pre></body></html>
79     #errors
80     #document
81 wakaba 1.5 | <!DOCTYPE html>
82 wakaba 1.3 | <html>
83     | <head>
84     | <body>
85     | <pre>
86     | "
87     foo"
88 wakaba 1.1
89     #data
90 wakaba 1.5 <!DOCTYPE html><html><head></head><body><pre>
91 wakaba 1.1 foo
92     </pre></body></html>
93     #errors
94     #document
95 wakaba 1.5 | <!DOCTYPE html>
96 wakaba 1.1 | <html>
97     | <head>
98     | <body>
99     | <pre>
100     | "foo
101     "
102    
103     #data
104 wakaba 1.5 <!DOCTYPE html><html><head></head><body><pre>x</pre><span>
105 wakaba 1.1 </span></body></html>
106     #errors
107     #document
108 wakaba 1.5 | <!DOCTYPE html>
109 wakaba 1.1 | <html>
110     | <head>
111     | <body>
112     | <pre>
113     | "x"
114     | <span>
115     | "
116     "
117    
118     #data
119 wakaba 1.5 <!DOCTYPE html><html><head></head><body><pre>x
120 wakaba 1.1 y</pre></body></html>
121     #errors
122     #document
123 wakaba 1.5 | <!DOCTYPE html>
124 wakaba 1.1 | <html>
125     | <head>
126     | <body>
127     | <pre>
128     | "x
129     y"
130    
131     #data
132 wakaba 1.5 <!DOCTYPE html><html><head></head><body><pre>x<div>
133 wakaba 1.1 y</pre></body></html>
134     #errors
135 wakaba 1.4 Line: 2 Col: 7 End tag (pre) seen too early. Expected other end tag.
136 wakaba 1.1 #document
137 wakaba 1.5 | <!DOCTYPE html>
138 wakaba 1.1 | <html>
139     | <head>
140     | <body>
141     | <pre>
142     | "x"
143     | <div>
144     | "
145 wakaba 1.3 y"
146 wakaba 1.1
147     #data
148 wakaba 1.5 <!DOCTYPE html><HTML><META><HEAD></HEAD></HTML>
149 wakaba 1.1 #errors
150 wakaba 1.4 Line: 1 Col: 33 Unexpected start tag head in existing head. Ignored.
151 wakaba 1.1 #document
152 wakaba 1.5 | <!DOCTYPE html>
153 wakaba 1.1 | <html>
154     | <head>
155     | <meta>
156     | <body>
157    
158     #data
159 wakaba 1.5 <!DOCTYPE html><HTML><HEAD><head></HEAD></HTML>
160 wakaba 1.1 #errors
161 wakaba 1.4 Line: 1 Col: 33 Unexpected start tag head in existing head. Ignored.
162 wakaba 1.1 #document
163 wakaba 1.5 | <!DOCTYPE html>
164 wakaba 1.1 | <html>
165     | <head>
166     | <body>
167    
168     #data
169     <textarea>foo<span>bar</span><i>baz
170     #errors
171 wakaba 1.4 Line: 1 Col: 10 Unexpected start tag (textarea). Expected DOCTYPE.
172     Line: 1 Col: 35 Expected closing tag. Unexpected end of file.
173 wakaba 1.1 #document
174     | <html>
175     | <head>
176     | <body>
177     | <textarea>
178     | "foo<span>bar</span><i>baz"
179    
180     #data
181     <title>foo<span>bar</em><i>baz
182     #errors
183 wakaba 1.4 Line: 1 Col: 7 Unexpected start tag (title). Expected DOCTYPE.
184     Line: 1 Col: 30 Unexpected end of file. Expected end tag (title).
185 wakaba 1.1 #document
186     | <html>
187     | <head>
188     | <title>
189     | "foo<span>bar</em><i>baz"
190     | <body>
191 wakaba 1.2
192     #data
193 wakaba 1.5 <!DOCTYPE html><textarea>
194 wakaba 1.2 </textarea>
195     #errors
196     #document
197 wakaba 1.5 | <!DOCTYPE html>
198 wakaba 1.2 | <html>
199     | <head>
200     | <body>
201     | <textarea>
202    
203     #data
204 wakaba 1.5 <!DOCTYPE html><textarea>
205 wakaba 1.3 foo</textarea>
206     #errors
207     #document
208 wakaba 1.5 | <!DOCTYPE html>
209 wakaba 1.3 | <html>
210     | <head>
211     | <body>
212     | <textarea>
213     | "foo"
214    
215     #data
216 wakaba 1.5 <!DOCTYPE html><textarea>
217 wakaba 1.2
218     foo</textarea>
219     #errors
220     #document
221 wakaba 1.5 | <!DOCTYPE html>
222 wakaba 1.2 | <html>
223     | <head>
224     | <body>
225     | <textarea>
226 wakaba 1.3 | "
227     foo"
228 wakaba 1.2
229     #data
230 wakaba 1.5 <!DOCTYPE html><html><head></head><body><ul><li><div><p><li></ul></body></html>
231 wakaba 1.2 #errors
232 wakaba 1.4 Line: 1 Col: 60 Missing end tag (div, li).
233 wakaba 1.2 #document
234 wakaba 1.5 | <!DOCTYPE html>
235 wakaba 1.2 | <html>
236     | <head>
237     | <body>
238     | <ul>
239     | <li>
240     | <div>
241     | <p>
242     | <li>
243    
244     #data
245     <!doctype html><nobr><nobr><nobr>
246     #errors
247 wakaba 1.4 Line: 1 Col: 27 Unexpected start tag (nobr) implies end tag (nobr).
248     Line: 1 Col: 33 Unexpected start tag (nobr) implies end tag (nobr).
249     Line: 1 Col: 33 Expected closing tag. Unexpected end of file.
250 wakaba 1.2 #document
251     | <!DOCTYPE html>
252     | <html>
253     | <head>
254     | <body>
255     | <nobr>
256     | <nobr>
257     | <nobr>
258    
259     #data
260     <!doctype html><nobr><nobr></nobr><nobr>
261     #errors
262 wakaba 1.4 Line: 1 Col: 27 Unexpected start tag (nobr) implies end tag (nobr).
263     Line: 1 Col: 40 Expected closing tag. Unexpected end of file.
264 wakaba 1.2 #document
265     | <!DOCTYPE html>
266     | <html>
267     | <head>
268     | <body>
269     | <nobr>
270     | <nobr>
271     | <nobr>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24