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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Mon Jul 16 07:03:09 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.2: +28 -2 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     <!doctype html></head> <head>
3     #errors
4 wakaba 1.3 Unexpected start tag head. Ignored.
5 wakaba 1.1 #document
6     | <!DOCTYPE html>
7     | <html>
8     | <head>
9     | " "
10     | <body>
11    
12     #data
13     <!doctype html></html> <head>
14     #errors
15 wakaba 1.3 Unexpected start tag head.
16     Unexpected start tag head in after body phase.
17     Unexpected start tag head. Ignored.
18 wakaba 1.1 #document
19     | <!DOCTYPE html>
20     | <html>
21     | <head>
22     | <body>
23     | " "
24    
25     #data
26     <!doctype html></body><meta>
27     #errors
28 wakaba 1.3 Unexpected meta element in after body phase.
29 wakaba 1.1 #document
30     | <!DOCTYPE html>
31     | <html>
32     | <head>
33     | <body>
34     | <meta>
35 wakaba 1.2
36     #data
37     <!doctype HTml><form><div></form><div>
38     #errors
39     Form end tag ignored.
40     Unexpected end of file.
41     #document
42     | <!DOCTYPE HTml>
43     | <html>
44     | <head>
45     | <body>
46     | <form>
47     | <div>
48     | <div>
49    
50     #data
51     <!doctype HTml><title>&amp;</title>
52     #errors
53     #document
54     | <!DOCTYPE HTml>
55     | <html>
56     | <head>
57     | <title>
58     | "&"
59     | <body>
60    
61     #data
62     <!doctype HTml><title><!--&amp;--></title>
63     #errors
64     #document
65     | <!DOCTYPE HTml>
66     | <html>
67     | <head>
68     | <title>
69     | "<!--&amp;-->"
70 wakaba 1.3 | <body>
71    
72     #data
73     <!doctype>
74     #errors
75     No space after "doctype"
76     Unexpected ">"
77     Incorrect doctype
78     #document
79     | <!DOCTYPE>
80     | <html>
81     | <head>
82     | <body>
83    
84     #data
85     <!---x
86     #errors
87     End of file in comment
88     End of file before doctype
89     #document
90     | <!-- -x -->
91     | <html>
92     | <head>
93 wakaba 1.2 | <body>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24