/[suikacvs]/markup/html/whatpm/t/tokenizer-test-1.test
Suika

Contents of /markup/html/whatpm/t/tokenizer-test-1.test

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed May 2 13:44:35 2007 UTC (18 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.1: +7 -1 lines
++ ChangeLog	2 May 2007 13:37:34 -0000
2007-05-02  Wakaba  <wakaba@suika.fam.cx>

	* readme.en.html: TODO section is added.

++ whatpm/t/ChangeLog	2 May 2007 13:44:02 -0000
2007-05-02  Wakaba  <wakaba@suika.fam.cx>

	* .cvsignore: Result files are added.

	* HTML-tree.t: Support for document fragment tests.

	* Makefile: Generate test result files.

	* tokenizer-test-1.test: A new test to ensure that
	characters after end tag are preserved in RCDATA or CDATA
	case.

++ whatpm/Whatpm/ChangeLog	2 May 2007 13:42:17 -0000
2007-05-02  Wakaba  <wakaba@suika.fam.cx>

	* NanoDOM.pm (DOMImplementation): New class.
	(append_child): Weaken the |parent_node| reference.
	(create_element_ns, Element new): Set the |owner_document|
	reference.
	(implementation): New attribute.
	(owner_document, local_name, namespace_uri): New attributes.

	* HTML.pm.src (parse_string): Line and column numbers
	are now provided to error handler.
	(!!!parse-error): Short descriptions are added.
	(_construct_tree): Split into three methods; support
	for innerHTML mode.
	(set_inner_html): New method.

1 wakaba 1.1 {"tests": [
2    
3     {"description":"non-PCDATA content model flag, start tag-like string",
4     "contentModelFlags":["PLAINTEXT","RCDATA","CDATA"],
5     "input":"<div>",
6 wakaba 1.2 "output":[["Character", "<div>"]]},
7    
8     {"description":"end tag followed by character data",
9     "contentModelFlags":["RCDATA","CDATA"],
10     "lastStartTag":"xxx",
11     "input":"AB</xxx>CD",
12     "output":[["Character", "AB"],["EndTag", "xxx"],["Character", "CD"]]}
13 wakaba 1.1
14     ]}

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24