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

Contents of /markup/html/whatpm/t/tokenizer/escapeFlag.test

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Jun 23 02:26:51 2007 UTC (18 years, 1 month ago) by wakaba
Branch: MAIN
++ whatpm/t/ChangeLog	23 Jun 2007 02:21:24 -0000
2007-06-23  Wakaba  <wakaba@suika.fam.cx>

	* Makefile, HTML-tokenizer.t, HTML-tree.t: New test
	files are added.

	* tokenize/, tree-construction/: Sync with latest html5lib
	trunk.

1 wakaba 1.1 {"tests": [
2    
3     {"description":"Commented close tag in [R]CDATA",
4     "contentModelFlags":["RCDATA", "CDATA"],
5     "lastStartTag":"bar",
6     "input":"foo<!--</bar>--></bar>",
7     "output":[["Character", "foo<!--</bar>-->"], ["EndTag", "bar"]]},
8    
9     {"description":"Bogus comment in [R]CDATA",
10     "contentModelFlags":["RCDATA", "CDATA"],
11     "lastStartTag":"bar",
12     "input":"foo<!-->baz</bar>",
13     "output":[["Character", "foo<!-->baz"], ["EndTag", "bar"]]},
14    
15     {"description":"End tag surrounded by bogus comment in [R]CDATA",
16     "contentModelFlags":["RCDATA", "CDATA"],
17     "lastStartTag":"bar",
18     "input":"foo<!--></bar><!-->baz</bar>",
19     "output":[["Character", "foo<!-->"], ["EndTag", "bar"], "ParseError", ["Comment", ""], ["Character", "baz"], ["EndTag", "bar"]]}
20    
21     ]}

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24