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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Jul 16 07:03:09 2007 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.1: +56 -1 lines
++ whatpm/t/ChangeLog	16 Jul 2007 07:03:04 -0000
	* HTML-tokenizer.t: It now requires newer version
	of JSON.pm due to the broken handling for utf8 string
	of older version.  Test data files |test3.test|
	and |test4.test| are added.  Convert surrogate
	pair |\u| escapes in JSON file before it is input
	into JSON.pm parser since it does not decode
	them correctly.  U+000D convertion was incorrect.

	* HTML-tree.t: Support for new format for fragment
	parsing tests.

	* Makefile (tokenizer-files): New test
	data files |test3.test| and |test4.test| are added.

	* tokenizer-test-1.test: Test data for bare |hcro| and
	entity references in attribute values are added.

	* tokenizer-test-2.dat: Test data for U+000D are added.

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

++ whatpm/Whatpm/ChangeLog	16 Jul 2007 06:56:42 -0000
	* HTML.pm.src: The character immediately following
	a bare |hcro| was discarded.  Fix handling of
	entity references in attribute values.

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

1 wakaba 1.1 #data
2     <style> <!-- </style>x
3     #errors
4     No DOCTYPE
5     Unexpected end of file
6     #document
7     | <html>
8     | <head>
9     | <style>
10     | " <!-- </style>x"
11     | <body>
12    
13     #data
14     <style> <!-- </style> --> </style>x
15     #errors
16     No DOCTYPE
17     #document
18     | <html>
19     | <head>
20     | <style>
21     | " <!-- </style> --> "
22     | <body>
23     | "x"
24    
25     #data
26     <style> <!--> </style>x
27     #errors
28     No DOCTYPE
29     #document
30     | <html>
31     | <head>
32     | <style>
33     | " <!--> "
34     | <body>
35     | "x"
36    
37     #data
38     <style> <!---> </style>x
39     #errors
40     No DOCTYPE
41     #document
42     | <html>
43     | <head>
44     | <style>
45     | " <!---> "
46     | <body>
47     | "x"
48    
49     #data
50     <iframe> <!---> </iframe>x
51     #errors
52     No DOCTYPE
53     #document
54     | <html>
55     | <head>
56     | <body>
57     | <iframe>
58     | " <!---> "
59     | "x"
60    
61     #data
62     <iframe> <!--- </iframe>->x</iframe> --> </iframe>x
63     #errors
64     No DOCTYPE
65     #document
66     | <html>
67     | <head>
68     | <body>
69     | <iframe>
70     | " <!--- </iframe>->x</iframe> --> "
71     | "x"
72    
73     #data
74     <script> <!-- </script> --> </script>x
75     #errors
76     No DOCTYPE
77     #document
78     | <html>
79     | <head>
80     | <script>
81     | " <!-- </script> --> "
82     | <body>
83     | "x"
84    
85     #data
86     <title> <!-- </title> --> </title>x
87     #errors
88     No DOCTYPE
89     #document
90     | <html>
91     | <head>
92     | <title>
93     | " <!-- </title> --> "
94     | <body>
95     | "x"
96    
97     #data
98     <textarea> <!--- </textarea>->x</textarea> --> </textarea>x
99     #errors
100     No DOCTYPE
101     #document
102     | <html>
103     | <head>
104     | <body>
105     | <textarea>
106     | " <!--- </textarea>->x</textarea> --> "
107     | "x"
108    
109     #data
110     <style> <!</-- </style>x
111     #errors
112     No DOCTYPE
113     #document
114     | <html>
115     | <head>
116     | <style>
117     | " <!</-- "
118     | <body>
119     | "x"
120 wakaba 1.2
121     #data
122     <xmp> <!-- > --> </xmp>
123     #errors
124     No DOCTYPE
125     #document
126     | <html>
127     | <head>
128     | <body>
129     | <xmp>
130     | " <!-- > --> "
131    
132     #data
133     <title>&amp;</title>
134     #errors
135     No DOCTYPE
136     #document
137     | <html>
138     | <head>
139     | <title>
140     | "&"
141     | <body>
142    
143     #data
144     <title><!--&amp;--></title>
145     #errors
146     No DOCTYPE
147     #document
148     | <html>
149     | <head>
150     | <title>
151     | "<!--&amp;-->"
152     | <body>
153    
154     #data
155     <title><!--</title>
156     #errors
157     No DOCTYPE
158     Unexpected EOF
159     #document
160     | <html>
161     | <head>
162     | <title>
163     | "<!--</title>"
164     | <body>
165    
166     #data
167     <noscript><!--</noscript>--></noscript>
168     #errors
169     No DOCTYPE
170     #document
171     | <html>
172     | <head>
173     | <noscript>
174     | "<!--</noscript>-->"
175     | <body>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24