/[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.2 - (hide annotations) (download)
Sun Mar 2 14:34:53 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.1: +7 -1 lines
html5lib tests updated

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 wakaba 1.2 "output":[["Character", "foo<!-->"], ["EndTag", "bar"], "ParseError", ["Comment", ""], ["Character", "baz"], ["EndTag", "bar"]]},
20    
21     {"description":"Commented entities in RCDATA",
22     "contentModelFlags":["RCDATA"],
23     "lastStartTag":"bar",
24     "input":" &amp; <!-- &amp; --> &amp; </bar>",
25     "output":[["Character", " & <!-- &amp; --> & "], ["EndTag", "bar"]]}
26 wakaba 1.1
27     ]}

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24