/[suikacvs]/markup/html/whatpm/t/tree-test-2.dat
Suika

Contents of /markup/html/whatpm/t/tree-test-2.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Mon Jul 16 04:51:22 2007 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.2: +58 -0 lines
++ whatpm/t/ChangeLog	16 Jul 2007 04:51:17 -0000
	* tree-test-1.dat: Tests for |<html>| in trailing
	end phase and |</frameset>| in after frameset mode
	are added.

	* tree-test-2.dat: Tests for |</frameset>|
	in |frameset| fragment parsing are added.

2007-07-16  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	16 Jul 2007 04:49:33 -0000
	* HTML.pm.src (main and trailin end phases): Token
	types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are
	factored out.  Error types |in html:#DOCTYPE|
	and |after html:#DOCTYPE| are merged
	into |DOCTYPE in the middle|.  |</frameset>|
	in fragment parsing mode changed the
	insertion mode.

2007-07-16  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.1
2     #data
3     <link rel="a" href="b">
4     #errors
5     #document-fragment head
6     | <link>
7     | href="b"
8     | rel="a"
9    
10     #data
11     <meta name="a" content="b">
12     #errors
13     #document-fragment head
14     | <meta>
15     | content="b"
16     | name="a"
17    
18     #data
19     <base href="a" target="b">
20     #errors
21     #document-fragment head
22     | <base>
23     | href="a"
24     | target="b"
25    
26     #data
27     <base href="a" target="b">a
28     #errors
29     #document-fragment head
30     | <base>
31     | href="a"
32     | target="b"
33     | "a"
34    
35    
36     #data
37     </style>
38     #errors
39     #document-fragment style
40     | "</style>"
41    
42     #data
43     </style>abc
44     #errors
45     #document-fragment style
46     | "</style>abc"
47    
48     #data
49     <style>ABC</style>abc
50     #errors
51     #document-fragment style
52     | "<style>ABC</style>abc"
53    
54     #data
55     <style>ABC</style>abc
56     #errors
57     #document-fragment div
58     | <style>
59     | "ABC"
60     | "abc"
61    
62     #data
63     </stylesheet
64     #errors
65     #document-fragment style
66     | "</stylesheet"
67    
68     #data
69     </title>
70     #errors
71     #document-fragment title
72     | "</title>"
73    
74     #data
75     </title>abc
76     #errors
77     #document-fragment title
78     | "</title>abc"
79    
80     #data
81     </titletext
82     #errors
83     #document-fragment title
84     | "</titletext"
85    
86     #data
87     <table><tr><td><table></table>
88     #errors
89     outer <table> not closed
90     #document-fragment div
91     | <table>
92     | <tbody>
93     | <tr>
94     | <td>
95     | <table>
96    
97     #data
98     <table><caption><table></table><tr><td>
99     #errors
100     outer <table> not closed
101     <caption> not closed
102     #document-fragment div
103     | <table>
104     | <caption>
105     | <table>
106     | <tbody>
107     | <tr>
108     | <td>
109    
110 wakaba 1.2 #data
111     <title>a</title>
112     #errors
113     <title> in body
114     #document-fragment p
115     | <title>
116     | "a"
117    
118     #data
119     <table><title>a</title></table>
120     #errors
121     <title> in table
122     <title> in body
123     #document-fragment div
124     | <title>
125     | "a"
126     | <table>
127    
128     #data
129     <title>a</title>
130     #errors
131     <title> in table
132     <title> in body
133     #document-fragment table
134     | <title>
135     | "a"
136 wakaba 1.3
137     #data
138     </frameset>
139     #errors
140     unmatched </frameset>
141     #document-fragment frameset
142    
143     #data
144     </frameset></frameset>
145     #errors
146     unmatched </frameset>
147     unmatched </frameset>
148     #document-fragment frameset
149    
150     #data
151     </frameset></frameset></frameset>
152     #errors
153     unmatched </frameset>
154     unmatched </frameset>
155     unmatched </frameset>
156     #document-fragment frameset
157    
158     #data
159     </frameset></html>
160     #errors
161     unmatched </frameset>
162     unmatched </html>
163     #document-fragment frameset
164    
165     #data
166     </frameset></frameset></html>
167     #errors
168     unmatched </frameset>
169     unmatched </frameset>
170     unmatched </html>
171     #document-fragment frameset
172    
173     #data
174     </frameset><frame>
175     #errors
176     unmatched </frameset>
177     #document-fragment frameset
178     | <frame>
179    
180     #data
181     </frameset><!---->
182     #errors
183     unmatched </frameset>
184     #document-fragment frameset
185     | <!-- -->
186    
187     #data
188     </frameset></html><!---->
189     #errors
190     unmatched </frameset>
191     unmatched </html>
192     #document-fragment frameset
193     | <!-- -->

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24