/[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.2 - (hide annotations) (download)
Sat Jun 23 02:26:52 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.1: +81 -16 lines
++ whatpm/t/ChangeLog	23 Jun 2007 02:21:24 -0000
2007-06-23  Wakaba  <wakaba@suika.fam.cx>

	* Makefile, HTML-tokenizer.t, HTML-tree.t: New test
	files are added.

	* tokenize/, tree-construction/: Sync with latest html5lib
	trunk.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24