kolibrios-gitea/programs/network/netsurf/libhubbub/test/data/tokeniser2/regression.test
Dmitry Pereverzev (SoUrcerer) 370da47fa0 Netsurf initial port (still needs native ui and cURL)
git-svn-id: svn://kolibrios.org@3584 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-01 17:14:14 +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"]]},
]}