{
"tests": [
{
"fragmentContext": null,
"description": "<!doctype html><script>",
"input": "<!doctype html><script>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script>a",
"input": "<!doctype html><script>a",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"a"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><",
"input": "<!doctype html><script><",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></",
"input": "<!doctype html><script></",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"</"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></S",
"input": "<!doctype html><script></S",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"</S"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></SC",
"input": "<!doctype html><script></SC",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"</SC"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></SCR",
"input": "<!doctype html><script></SCR",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"</SCR"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></SCRI",
"input": "<!doctype html><script></SCRI",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"</SCRI"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></SCRIP",
"input": "<!doctype html><script></SCRIP",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"</SCRIP"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></SCRIPT",
"input": "<!doctype html><script></SCRIPT",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"</SCRIPT"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></SCRIPT ",
"input": "<!doctype html><script></SCRIPT ",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></s",
"input": "<!doctype html><script></s",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"</s"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></sc",
"input": "<!doctype html><script></sc",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"</sc"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></scr",
"input": "<!doctype html><script></scr",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"</scr"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></scri",
"input": "<!doctype html><script></scri",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"</scri"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></scrip",
"input": "<!doctype html><script></scrip",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"</scrip"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></script",
"input": "<!doctype html><script></script",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"</script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script></script ",
"input": "<!doctype html><script></script ",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!",
"input": "<!doctype html><script><!",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!a",
"input": "<!doctype html><script><!a",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!a"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!-",
"input": "<!doctype html><script><!-",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!-"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!-a",
"input": "<!doctype html><script><!-a",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!-a"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--",
"input": "<!doctype html><script><!--",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--a",
"input": "<!doctype html><script><!--a",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--a"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<",
"input": "<!doctype html><script><!--<",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<a",
"input": "<!doctype html><script><!--<a",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<a"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--</",
"input": "<!doctype html><script><!--</",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--</"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--</script",
"input": "<!doctype html><script><!--</script",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--</script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--</script ",
"input": "<!doctype html><script><!--</script ",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<s",
"input": "<!doctype html><script><!--<s",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<s"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script",
"input": "<!doctype html><script><!--<script",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script ",
"input": "<!doctype html><script><!--<script ",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script "
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script <",
"input": "<!doctype html><script><!--<script <",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script <"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script <a",
"input": "<!doctype html><script><!--<script <a",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script <a"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </",
"input": "<!doctype html><script><!--<script </",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </s",
"input": "<!doctype html><script><!--<script </s",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </s"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </script",
"input": "<!doctype html><script><!--<script </script",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </scripta",
"input": "<!doctype html><script><!--<script </scripta",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </scripta"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </script ",
"input": "<!doctype html><script><!--<script </script ",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script "
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </script>",
"input": "<!doctype html><script><!--<script </script>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script>"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </script/",
"input": "<!doctype html><script><!--<script </script/",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script/"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </script <",
"input": "<!doctype html><script><!--<script </script <",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script <"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </script <a",
"input": "<!doctype html><script><!--<script </script <a",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script <a"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </script </",
"input": "<!doctype html><script><!--<script </script </",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script </"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </script </script",
"input": "<!doctype html><script><!--<script </script </script",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script </script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </script </script ",
"input": "<!doctype html><script><!--<script </script </script ",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script "
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </script </script/",
"input": "<!doctype html><script><!--<script </script </script/",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script "
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script </script </script>",
"input": "<!doctype html><script><!--<script </script </script>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script "
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script -",
"input": "<!doctype html><script><!--<script -",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script -"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script -a",
"input": "<!doctype html><script><!--<script -a",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script -a"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script -<",
"input": "<!doctype html><script><!--<script -<",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script -<"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script --",
"input": "<!doctype html><script><!--<script --",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script --"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script --a",
"input": "<!doctype html><script><!--<script --a",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script --a"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script --<",
"input": "<!doctype html><script><!--<script --<",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script --<"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script -->",
"input": "<!doctype html><script><!--<script -->",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script -->"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script --><",
"input": "<!doctype html><script><!--<script --><",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script --><"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script --></",
"input": "<!doctype html><script><!--<script --></",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script --></"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script --></script",
"input": "<!doctype html><script><!--<script --></script",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script --></script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script --></script ",
"input": "<!doctype html><script><!--<script --></script ",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script -->"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script --></script/",
"input": "<!doctype html><script><!--<script --></script/",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script -->"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script --></script>",
"input": "<!doctype html><script><!--<script --></script>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script -->"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script><\\/script>--></script>",
"input": "<!doctype html><script><!--<script><\\/script>--></script>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script><\\/script>-->"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script></scr'+'ipt>--></script>",
"input": "<!doctype html><script><!--<script></scr'+'ipt>--></script>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></scr'+'ipt>-->"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script></script><script></script></script>",
"input": "<!doctype html><script><!--<script></script><script></script></script>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></script><script></script>"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script></script><script></script>--><!--</script>",
"input": "<!doctype html><script><!--<script></script><script></script>--><!--</script>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></script><script></script>--><!--"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script></script><script></script>-- ></script>",
"input": "<!doctype html><script><!--<script></script><script></script>-- ></script>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></script><script></script>-- >"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script></script><script></script>- -></script>",
"input": "<!doctype html><script><!--<script></script><script></script>- -></script>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></script><script></script>- ->"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script></script><script></script>- - ></script>",
"input": "<!doctype html><script><!--<script></script><script></script>- - ></script>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></script><script></script>- - >"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script></script><script></script>-></script>",
"input": "<!doctype html><script><!--<script></script><script></script>-></script>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></script><script></script>->"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script>--!></script>X",
"input": "<!doctype html><script><!--<script>--!></script>X",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script>--!></script>X"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<scr'+'ipt></script>--></script>",
"input": "<!doctype html><script><!--<scr'+'ipt></script>--></script>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<scr'+'ipt>"
],
[
"EndTag",
"script"
],
[
"Character",
"-->"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><script><!--<script></scr'+'ipt></script>X",
"input": "<!doctype html><script><!--<script></scr'+'ipt></script>X",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></scr'+'ipt></script>X"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><style><!--<style></style>--></style>",
"input": "<!doctype html><style><!--<style></style>--></style>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"style",
{}
],
[
"Character",
"<!--<style>"
],
[
"EndTag",
"style"
],
[
"Character",
"-->"
],
[
"EndTag",
"style"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><style><!--</style>X",
"input": "<!doctype html><style><!--</style>X",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"style",
{}
],
[
"Character",
"<!--"
],
[
"EndTag",
"style"
],
[
"Character",
"X"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><style><!--...</style>...--></style>",
"input": "<!doctype html><style><!--...</style>...--></style>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"style",
{}
],
[
"Character",
"<!--..."
],
[
"EndTag",
"style"
],
[
"Character",
"...-->"
],
[
"EndTag",
"style"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X",
"input": "<!doctype html><style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"style",
{}
],
[
"Character",
"<!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style>"
],
[
"EndTag",
"style"
],
[
"Character",
"X"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><style><!--...<style><!--...--!></style>--></style>",
"input": "<!doctype html><style><!--...<style><!--...--!></style>--></style>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"style",
{}
],
[
"Character",
"<!--...<style><!--...--!>"
],
[
"EndTag",
"style"
],
[
"Character",
"-->"
],
[
"EndTag",
"style"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><style><!--...</style><!-- --><style>@import ...</style>",
"input": "<!doctype html><style><!--...</style><!-- --><style>@import ...</style>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"style",
{}
],
[
"Character",
"<!--..."
],
[
"EndTag",
"style"
],
[
"Comment",
" "
],
[
"StartTag",
"style",
{}
],
[
"Character",
"@import ..."
],
[
"EndTag",
"style"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><style>...<style><!--...</style><!-- --></style>",
"input": "<!doctype html><style>...<style><!--...</style><!-- --></style>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"style",
{}
],
[
"Character",
"...<style><!--..."
],
[
"EndTag",
"style"
],
[
"Comment",
" "
],
[
"EndTag",
"style"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><style>...<!--[if IE]><style>...</style>X",
"input": "<!doctype html><style>...<!--[if IE]><style>...</style>X",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"style",
{}
],
[
"Character",
"...<!--[if IE]><style>..."
],
[
"EndTag",
"style"
],
[
"Character",
"X"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><title><!--<title></title>--></title>",
"input": "<!doctype html><title><!--<title></title>--></title>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"title",
{}
],
[
"Character",
"<!--<title>"
],
[
"EndTag",
"title"
],
[
"Character",
"-->"
],
[
"EndTag",
"title"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><title></title></title>",
"input": "<!doctype html><title></title></title>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"title",
{}
],
[
"Character",
"</title>"
],
[
"EndTag",
"title"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><title>foo/title><link></head><body>X",
"input": "<!doctype html><title>foo/title><link></head><body>X",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"title",
{}
],
[
"Character",
"foo/title><link></head><body>X"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><noscript><!--<noscript></noscript>--></noscript>",
"input": "<!doctype html><noscript><!--<noscript></noscript>--></noscript>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"noscript",
{}
],
[
"Character",
"<!--<noscript>"
],
[
"EndTag",
"noscript"
],
[
"Character",
"-->"
],
[
"EndTag",
"noscript"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><noscript><!--<noscript></noscript>--></noscript>",
"input": "<!doctype html><noscript><!--<noscript></noscript>--></noscript>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"noscript",
{}
],
[
"Character",
"<!--<noscript>"
],
[
"EndTag",
"noscript"
],
[
"Character",
"-->"
],
[
"EndTag",
"noscript"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><noscript><!--</noscript>X<noscript>--></noscript>",
"input": "<!doctype html><noscript><!--</noscript>X<noscript>--></noscript>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"noscript",
{}
],
[
"Character",
"<!--"
],
[
"EndTag",
"noscript"
],
[
"Character",
"X"
],
[
"StartTag",
"noscript",
{}
],
[
"Character",
"-->"
],
[
"EndTag",
"noscript"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><noscript><!--</noscript>X<noscript>--></noscript>",
"input": "<!doctype html><noscript><!--</noscript>X<noscript>--></noscript>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"noscript",
{}
],
[
"Character",
"<!--"
],
[
"EndTag",
"noscript"
],
[
"Character",
"X"
],
[
"StartTag",
"noscript",
{}
],
[
"Character",
"-->"
],
[
"EndTag",
"noscript"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><noscript><iframe></noscript>X",
"input": "<!doctype html><noscript><iframe></noscript>X",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"noscript",
{}
],
[
"Character",
"<iframe>"
],
[
"EndTag",
"noscript"
],
[
"Character",
"X"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><noscript><iframe></noscript>X",
"input": "<!doctype html><noscript><iframe></noscript>X",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"noscript",
{}
],
[
"Character",
"<iframe>"
],
[
"EndTag",
"noscript"
],
[
"Character",
"X"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><noframes><!--<noframes></noframes>--></noframes>",
"input": "<!doctype html><noframes><!--<noframes></noframes>--></noframes>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"noframes",
{}
],
[
"Character",
"<!--<noframes>"
],
[
"EndTag",
"noframes"
],
[
"Character",
"-->"
],
[
"EndTag",
"noframes"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><noframes><body><script><!--...</script></body></noframes></html>",
"input": "<!doctype html><noframes><body><script><!--...</script></body></noframes></html>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"noframes",
{}
],
[
"Character",
"<body><script><!--...</script></body>"
],
[
"EndTag",
"noframes"
],
[
"EndTag",
"html"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><textarea><!--<textarea></textarea>--></textarea>",
"input": "<!doctype html><textarea><!--<textarea></textarea>--></textarea>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"textarea",
{}
],
[
"Character",
"<!--<textarea>"
],
[
"EndTag",
"textarea"
],
[
"Character",
"-->"
],
[
"EndTag",
"textarea"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><textarea></textarea></textarea>",
"input": "<!doctype html><textarea></textarea></textarea>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"textarea",
{}
],
[
"Character",
"</textarea>"
],
[
"EndTag",
"textarea"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><textarea><</textarea>",
"input": "<!doctype html><textarea><</textarea>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"textarea",
{}
],
[
"Character",
"<"
],
[
"EndTag",
"textarea"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><textarea>a<b</textarea>",
"input": "<!doctype html><textarea>a<b</textarea>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"textarea",
{}
],
[
"Character",
"a<b"
],
[
"EndTag",
"textarea"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><iframe><!--<iframe></iframe>--></iframe>",
"input": "<!doctype html><iframe><!--<iframe></iframe>--></iframe>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"iframe",
{}
],
[
"Character",
"<!--<iframe>"
],
[
"EndTag",
"iframe"
],
[
"Character",
"-->"
],
[
"EndTag",
"iframe"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><iframe>...<!--X->...<!--/X->...</iframe>",
"input": "<!doctype html><iframe>...<!--X->...<!--/X->...</iframe>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"iframe",
{}
],
[
"Character",
"...<!--X->...<!--/X->..."
],
[
"EndTag",
"iframe"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><xmp><!--<xmp></xmp>--></xmp>",
"input": "<!doctype html><xmp><!--<xmp></xmp>--></xmp>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"xmp",
{}
],
[
"Character",
"<!--<xmp>"
],
[
"EndTag",
"xmp"
],
[
"Character",
"-->"
],
[
"EndTag",
"xmp"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><noembed><!--<noembed></noembed>--></noembed>",
"input": "<!doctype html><noembed><!--<noembed></noembed>--></noembed>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"noembed",
{}
],
[
"Character",
"<!--<noembed>"
],
[
"EndTag",
"noembed"
],
[
"Character",
"-->"
],
[
"EndTag",
"noembed"
]
]
},
{
"fragmentContext": null,
"description": "<script>",
"input": "<script>",
"output": [
[
"StartTag",
"script",
{}
]
]
},
{
"fragmentContext": null,
"description": "<script>a",
"input": "<script>a",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"a"
]
]
},
{
"fragmentContext": null,
"description": "<script><",
"input": "<script><",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<"
]
]
},
{
"fragmentContext": null,
"description": "<script></",
"input": "<script></",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"</"
]
]
},
{
"fragmentContext": null,
"description": "<script></S",
"input": "<script></S",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"</S"
]
]
},
{
"fragmentContext": null,
"description": "<script></SC",
"input": "<script></SC",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"</SC"
]
]
},
{
"fragmentContext": null,
"description": "<script></SCR",
"input": "<script></SCR",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"</SCR"
]
]
},
{
"fragmentContext": null,
"description": "<script></SCRI",
"input": "<script></SCRI",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"</SCRI"
]
]
},
{
"fragmentContext": null,
"description": "<script></SCRIP",
"input": "<script></SCRIP",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"</SCRIP"
]
]
},
{
"fragmentContext": null,
"description": "<script></SCRIPT",
"input": "<script></SCRIPT",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"</SCRIPT"
]
]
},
{
"fragmentContext": null,
"description": "<script></SCRIPT ",
"input": "<script></SCRIPT ",
"output": [
[
"StartTag",
"script",
{}
]
]
},
{
"fragmentContext": null,
"description": "<script></s",
"input": "<script></s",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"</s"
]
]
},
{
"fragmentContext": null,
"description": "<script></sc",
"input": "<script></sc",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"</sc"
]
]
},
{
"fragmentContext": null,
"description": "<script></scr",
"input": "<script></scr",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"</scr"
]
]
},
{
"fragmentContext": null,
"description": "<script></scri",
"input": "<script></scri",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"</scri"
]
]
},
{
"fragmentContext": null,
"description": "<script></scrip",
"input": "<script></scrip",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"</scrip"
]
]
},
{
"fragmentContext": null,
"description": "<script></script",
"input": "<script></script",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"</script"
]
]
},
{
"fragmentContext": null,
"description": "<script></script ",
"input": "<script></script ",
"output": [
[
"StartTag",
"script",
{}
]
]
},
{
"fragmentContext": null,
"description": "<script><!",
"input": "<script><!",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!"
]
]
},
{
"fragmentContext": null,
"description": "<script><!a",
"input": "<script><!a",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!a"
]
]
},
{
"fragmentContext": null,
"description": "<script><!-",
"input": "<script><!-",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!-"
]
]
},
{
"fragmentContext": null,
"description": "<script><!-a",
"input": "<script><!-a",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!-a"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--",
"input": "<script><!--",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--a",
"input": "<script><!--a",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--a"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<",
"input": "<script><!--<",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<a",
"input": "<script><!--<a",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<a"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--</",
"input": "<script><!--</",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--</"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--</script",
"input": "<script><!--</script",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--</script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--</script ",
"input": "<script><!--</script ",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<s",
"input": "<script><!--<s",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<s"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script",
"input": "<script><!--<script",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script ",
"input": "<script><!--<script ",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script "
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script <",
"input": "<script><!--<script <",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script <"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script <a",
"input": "<script><!--<script <a",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script <a"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </",
"input": "<script><!--<script </",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </s",
"input": "<script><!--<script </s",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </s"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </script",
"input": "<script><!--<script </script",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </scripta",
"input": "<script><!--<script </scripta",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </scripta"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </script ",
"input": "<script><!--<script </script ",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script "
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </script>",
"input": "<script><!--<script </script>",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script>"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </script/",
"input": "<script><!--<script </script/",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script/"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </script <",
"input": "<script><!--<script </script <",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script <"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </script <a",
"input": "<script><!--<script </script <a",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script <a"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </script </",
"input": "<script><!--<script </script </",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script </"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </script </script",
"input": "<script><!--<script </script </script",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script </script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </script </script ",
"input": "<script><!--<script </script </script ",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script "
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </script </script/",
"input": "<script><!--<script </script </script/",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script "
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script </script </script>",
"input": "<script><!--<script </script </script>",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script </script "
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script -",
"input": "<script><!--<script -",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script -"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script -a",
"input": "<script><!--<script -a",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script -a"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script --",
"input": "<script><!--<script --",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script --"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script --a",
"input": "<script><!--<script --a",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script --a"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script -->",
"input": "<script><!--<script -->",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script -->"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script --><",
"input": "<script><!--<script --><",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script --><"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script --></",
"input": "<script><!--<script --></",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script --></"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script --></script",
"input": "<script><!--<script --></script",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script --></script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script --></script ",
"input": "<script><!--<script --></script ",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script -->"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script --></script/",
"input": "<script><!--<script --></script/",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script -->"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script --></script>",
"input": "<script><!--<script --></script>",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script -->"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script><\\/script>--></script>",
"input": "<script><!--<script><\\/script>--></script>",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script><\\/script>-->"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script></scr'+'ipt>--></script>",
"input": "<script><!--<script></scr'+'ipt>--></script>",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></scr'+'ipt>-->"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script></script><script></script></script>",
"input": "<script><!--<script></script><script></script></script>",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></script><script></script>"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script></script><script></script>--><!--</script>",
"input": "<script><!--<script></script><script></script>--><!--</script>",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></script><script></script>--><!--"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script></script><script></script>-- ></script>",
"input": "<script><!--<script></script><script></script>-- ></script>",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></script><script></script>-- >"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script></script><script></script>- -></script>",
"input": "<script><!--<script></script><script></script>- -></script>",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></script><script></script>- ->"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script></script><script></script>- - ></script>",
"input": "<script><!--<script></script><script></script>- - ></script>",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></script><script></script>- - >"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script></script><script></script>-></script>",
"input": "<script><!--<script></script><script></script>-></script>",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></script><script></script>->"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script>--!></script>X",
"input": "<script><!--<script>--!></script>X",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script>--!></script>X"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<scr'+'ipt></script>--></script>",
"input": "<script><!--<scr'+'ipt></script>--></script>",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<scr'+'ipt>"
],
[
"EndTag",
"script"
],
[
"Character",
"-->"
],
[
"EndTag",
"script"
]
]
},
{
"fragmentContext": null,
"description": "<script><!--<script></scr'+'ipt></script>X",
"input": "<script><!--<script></scr'+'ipt></script>X",
"output": [
[
"StartTag",
"script",
{}
],
[
"Character",
"<!--<script></scr'+'ipt></script>X"
]
]
},
{
"fragmentContext": null,
"description": "<style><!--<style></style>--></style>",
"input": "<style><!--<style></style>--></style>",
"output": [
[
"StartTag",
"style",
{}
],
[
"Character",
"<!--<style>"
],
[
"EndTag",
"style"
],
[
"Character",
"-->"
],
[
"EndTag",
"style"
]
]
},
{
"fragmentContext": null,
"description": "<style><!--</style>X",
"input": "<style><!--</style>X",
"output": [
[
"StartTag",
"style",
{}
],
[
"Character",
"<!--"
],
[
"EndTag",
"style"
],
[
"Character",
"X"
]
]
},
{
"fragmentContext": null,
"description": "<style><!--...</style>...--></style>",
"input": "<style><!--...</style>...--></style>",
"output": [
[
"StartTag",
"style",
{}
],
[
"Character",
"<!--..."
],
[
"EndTag",
"style"
],
[
"Character",
"...-->"
],
[
"EndTag",
"style"
]
]
},
{
"fragmentContext": null,
"description": "<style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X",
"input": "<style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X",
"output": [
[
"StartTag",
"style",
{}
],
[
"Character",
"<!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style>"
],
[
"EndTag",
"style"
],
[
"Character",
"X"
]
]
},
{
"fragmentContext": null,
"description": "<style><!--...<style><!--...--!></style>--></style>",
"input": "<style><!--...<style><!--...--!></style>--></style>",
"output": [
[
"StartTag",
"style",
{}
],
[
"Character",
"<!--...<style><!--...--!>"
],
[
"EndTag",
"style"
],
[
"Character",
"-->"
],
[
"EndTag",
"style"
]
]
},
{
"fragmentContext": null,
"description": "<style><!--...</style><!-- --><style>@import ...</style>",
"input": "<style><!--...</style><!-- --><style>@import ...</style>",
"output": [
[
"StartTag",
"style",
{}
],
[
"Character",
"<!--..."
],
[
"EndTag",
"style"
],
[
"Comment",
" "
],
[
"StartTag",
"style",
{}
],
[
"Character",
"@import ..."
],
[
"EndTag",
"style"
]
]
},
{
"fragmentContext": null,
"description": "<style>...<style><!--...</style><!-- --></style>",
"input": "<style>...<style><!--...</style><!-- --></style>",
"output": [
[
"StartTag",
"style",
{}
],
[
"Character",
"...<style><!--..."
],
[
"EndTag",
"style"
],
[
"Comment",
" "
],
[
"EndTag",
"style"
]
]
},
{
"fragmentContext": null,
"description": "<style>...<!--[if IE]><style>...</style>X",
"input": "<style>...<!--[if IE]><style>...</style>X",
"output": [
[
"StartTag",
"style",
{}
],
[
"Character",
"...<!--[if IE]><style>..."
],
[
"EndTag",
"style"
],
[
"Character",
"X"
]
]
},
{
"fragmentContext": null,
"description": "<title><!--<title></title>--></title>",
"input": "<title><!--<title></title>--></title>",
"output": [
[
"StartTag",
"title",
{}
],
[
"Character",
"<!--<title>"
],
[
"EndTag",
"title"
],
[
"Character",
"-->"
],
[
"EndTag",
"title"
]
]
},
{
"fragmentContext": null,
"description": "<title></title></title>",
"input": "<title></title></title>",
"output": [
[
"StartTag",
"title",
{}
],
[
"Character",
"</title>"
],
[
"EndTag",
"title"
]
]
},
{
"fragmentContext": null,
"description": "<title>foo/title><link></head><body>X",
"input": "<title>foo/title><link></head><body>X",
"output": [
[
"StartTag",
"title",
{}
],
[
"Character",
"foo/title><link></head><body>X"
]
]
},
{
"fragmentContext": null,
"description": "<noscript><!--<noscript></noscript>--></noscript>",
"input": "<noscript><!--<noscript></noscript>--></noscript>",
"output": [
[
"StartTag",
"noscript",
{}
],
[
"Character",
"<!--<noscript>"
],
[
"EndTag",
"noscript"
],
[
"Character",
"-->"
],
[
"EndTag",
"noscript"
]
]
},
{
"fragmentContext": null,
"description": "<noscript><!--<noscript></noscript>--></noscript>",
"input": "<noscript><!--<noscript></noscript>--></noscript>",
"output": [
[
"StartTag",
"noscript",
{}
],
[
"Character",
"<!--<noscript>"
],
[
"EndTag",
"noscript"
],
[
"Character",
"-->"
],
[
"EndTag",
"noscript"
]
]
},
{
"fragmentContext": null,
"description": "<noscript><!--</noscript>X<noscript>--></noscript>",
"input": "<noscript><!--</noscript>X<noscript>--></noscript>",
"output": [
[
"StartTag",
"noscript",
{}
],
[
"Character",
"<!--"
],
[
"EndTag",
"noscript"
],
[
"Character",
"X"
],
[
"StartTag",
"noscript",
{}
],
[
"Character",
"-->"
],
[
"EndTag",
"noscript"
]
]
},
{
"fragmentContext": null,
"description": "<noscript><!--</noscript>X<noscript>--></noscript>",
"input": "<noscript><!--</noscript>X<noscript>--></noscript>",
"output": [
[
"StartTag",
"noscript",
{}
],
[
"Character",
"<!--"
],
[
"EndTag",
"noscript"
],
[
"Character",
"X"
],
[
"StartTag",
"noscript",
{}
],
[
"Character",
"-->"
],
[
"EndTag",
"noscript"
]
]
},
{
"fragmentContext": null,
"description": "<noscript><iframe></noscript>X",
"input": "<noscript><iframe></noscript>X",
"output": [
[
"StartTag",
"noscript",
{}
],
[
"Character",
"<iframe>"
],
[
"EndTag",
"noscript"
],
[
"Character",
"X"
]
]
},
{
"fragmentContext": null,
"description": "<noscript><iframe></noscript>X",
"input": "<noscript><iframe></noscript>X",
"output": [
[
"StartTag",
"noscript",
{}
],
[
"Character",
"<iframe>"
],
[
"EndTag",
"noscript"
],
[
"Character",
"X"
]
]
},
{
"fragmentContext": null,
"description": "<noframes><!--<noframes></noframes>--></noframes>",
"input": "<noframes><!--<noframes></noframes>--></noframes>",
"output": [
[
"StartTag",
"noframes",
{}
],
[
"Character",
"<!--<noframes>"
],
[
"EndTag",
"noframes"
],
[
"Character",
"-->"
],
[
"EndTag",
"noframes"
]
]
},
{
"fragmentContext": null,
"description": "<noframes><body><script><!--...</script></body></noframes></html>",
"input": "<noframes><body><script><!--...</script></body></noframes></html>",
"output": [
[
"StartTag",
"noframes",
{}
],
[
"Character",
"<body><script><!--...</script></body>"
],
[
"EndTag",
"noframes"
],
[
"EndTag",
"html"
]
]
},
{
"fragmentContext": null,
"description": "<textarea><!--<textarea></textarea>--></textarea>",
"input": "<textarea><!--<textarea></textarea>--></textarea>",
"output": [
[
"StartTag",
"textarea",
{}
],
[
"Character",
"<!--<textarea>"
],
[
"EndTag",
"textarea"
],
[
"Character",
"-->"
],
[
"EndTag",
"textarea"
]
]
},
{
"fragmentContext": null,
"description": "<textarea></textarea></textarea>",
"input": "<textarea></textarea></textarea>",
"output": [
[
"StartTag",
"textarea",
{}
],
[
"Character",
"</textarea>"
],
[
"EndTag",
"textarea"
]
]
},
{
"fragmentContext": null,
"description": "<iframe><!--<iframe></iframe>--></iframe>",
"input": "<iframe><!--<iframe></iframe>--></iframe>",
"output": [
[
"StartTag",
"iframe",
{}
],
[
"Character",
"<!--<iframe>"
],
[
"EndTag",
"iframe"
],
[
"Character",
"-->"
],
[
"EndTag",
"iframe"
]
]
},
{
"fragmentContext": null,
"description": "<iframe>...<!--X->...<!--/X->...</iframe>",
"input": "<iframe>...<!--X->...<!--/X->...</iframe>",
"output": [
[
"StartTag",
"iframe",
{}
],
[
"Character",
"...<!--X->...<!--/X->..."
],
[
"EndTag",
"iframe"
]
]
},
{
"fragmentContext": null,
"description": "<xmp><!--<xmp></xmp>--></xmp>",
"input": "<xmp><!--<xmp></xmp>--></xmp>",
"output": [
[
"StartTag",
"xmp",
{}
],
[
"Character",
"<!--<xmp>"
],
[
"EndTag",
"xmp"
],
[
"Character",
"-->"
],
[
"EndTag",
"xmp"
]
]
},
{
"fragmentContext": null,
"description": "<noembed><!--<noembed></noembed>--></noembed>",
"input": "<noembed><!--<noembed></noembed>--></noembed>",
"output": [
[
"StartTag",
"noembed",
{}
],
[
"Character",
"<!--<noembed>"
],
[
"EndTag",
"noembed"
],
[
"Character",
"-->"
],
[
"EndTag",
"noembed"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><table>\\n",
"input": "<!doctype html><table>\n",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"table",
{}
],
[
"Character",
"\n"
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><table><td><span><font></span><span>",
"input": "<!doctype html><table><td><span><font></span><span>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"table",
{}
],
[
"StartTag",
"td",
{}
],
[
"StartTag",
"span",
{}
],
[
"StartTag",
"font",
{}
],
[
"EndTag",
"span"
],
[
"StartTag",
"span",
{}
]
]
},
{
"fragmentContext": null,
"description": "<!doctype html><form><table></form><form></table></form>",
"input": "<!doctype html><form><table></form><form></table></form>",
"output": [
[
"DOCTYPE",
"html",
null,
null,
true
],
[
"StartTag",
"form",
{}
],
[
"StartTag",
"table",
{}
],
[
"EndTag",
"form"
],
[
"StartTag",
"form",
{}
],
[
"EndTag",
"table"
],
[
"EndTag",
"form"
]
]
}
]
}