Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: pkg/third_party/html5lib/test/data/tokenizer/escapeFlag.test

Issue 22375011: move html5lib code into dart svn repo (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: change location of html5lib to pkg/third_party/html5lib Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 {"tests": [
2
3 {"description":"Commented close tag in RCDATA or RAWTEXT",
4 "initialStates":["RCDATA state", "RAWTEXT state"],
5 "lastStartTag":"xmp",
6 "input":"foo<!--</xmp>--></xmp>",
7 "output":[["Character", "foo<!--"], ["EndTag", "xmp"], ["Character", "-->"], ["E ndTag", "xmp"]]},
8
9 {"description":"Bogus comment in RCDATA or RAWTEXT",
10 "initialStates":["RCDATA state", "RAWTEXT state"],
11 "lastStartTag":"xmp",
12 "input":"foo<!-->baz</xmp>",
13 "output":[["Character", "foo<!-->baz"], ["EndTag", "xmp"]]},
14
15 {"description":"End tag surrounded by bogus comment in RCDATA or RAWTEXT",
16 "initialStates":["RCDATA state", "RAWTEXT state"],
17 "lastStartTag":"xmp",
18 "input":"foo<!--></xmp><!-->baz</xmp>",
19 "output":[["Character", "foo<!-->"], ["EndTag", "xmp"], "ParseError", ["Comment" , ""], ["Character", "baz"], ["EndTag", "xmp"]]},
20
21 {"description":"Commented entities in RCDATA",
22 "initialStates":["RCDATA state"],
23 "lastStartTag":"xmp",
24 "input":" &amp; <!-- &amp; --> &amp; </xmp>",
25 "output":[["Character", " & <!-- & --> & "], ["EndTag", "xmp"]]},
26
27 {"description":"Incorrect comment ending sequences in RCDATA or RAWTEXT",
28 "initialStates":["RCDATA state", "RAWTEXT state"],
29 "lastStartTag":"xmp",
30 "input":"foo<!-- x --x>x-- >x--!>x--<></xmp>",
31 "output":[["Character", "foo<!-- x --x>x-- >x--!>x--<>"], ["EndTag", "xmp"]]}
32
33 ]}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698