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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Jul 16 07:03:09 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.2: +23 -7 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 #data
2 direct div content
3 #errors
4 #document-fragment
5 div
6 #document
7 | "direct div content"
8
9 #data
10 direct textarea content
11 #errors
12 #document-fragment
13 textarea
14 #document
15 | "direct textarea content"
16
17 #data
18 textarea content with <em>pseudo</em> <foo>markup
19 #errors
20 #document-fragment
21 textarea
22 #document
23 | "textarea content with <em>pseudo</em> <foo>markup"
24
25 #data
26 this is &#x0043;DATA inside a <style> element
27 #errors
28 #document-fragment
29 style
30 #document
31 | "this is &#x0043;DATA inside a <style> element"
32
33 #data
34 </plaintext>
35 #errors
36 #document-fragment
37 plaintext
38 #document
39 | "</plaintext>"
40
41 #data
42 setting html's innerHTML
43 #errors
44 XXX innerHTML EOF
45 #document-fragment
46 html
47 #document
48 | <head>
49 | <body>
50 | "setting html's innerHTML"
51
52 #data
53 <title>setting head's innerHTML</title>
54 #errors
55 Unexpected title element that belongs in head.
56 #document-fragment
57 head
58 #document
59 | <title>
60 | "setting head's innerHTML"

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24