kolibrios-fun/contrib/network/netsurf/libhubbub/test/data/tokeniser2/regression.test
Yogev Ezra bb2bbc6b91 Move NetSurf to /contrib folder
git-svn-id: svn://kolibrios.org@4364 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-15 14:01:21 +00:00

21 lines
548 B
Plaintext

{"tests": [
{"description":"CR in double-quoted attribute value",
"input":"<foo bar=\"\r\u2022xyz\"",
"output":[["StartTag", "foo", {"bar":"\n\u2022xyz"}]]},
{"description":"CR in single-quoted attribute value",
"input":"<foo bar='\r\u2022xyz'",
"output":[["StartTag", "foo", {"bar":"\n\u2022xyz"}]]},
{"description":"CR in comment",
"input":"<!--\r\u2022xyz-->",
"output":[["Comment", "\n\u2022xyz"]]},
{"description":"CR in CDATA section",
"processCDATA":true,
"input":"<![CDATA[\r\u2022xyz]]>",
"output":[["Character", "\n\u2022xyz"]]},
]}