{
    "tests": [
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<address>bar<p>baz",
            "input": "<!doctype html><p>foo<address>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "address",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><address><p>foo</address>bar",
            "input": "<!doctype html><address><p>foo</address>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "address",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "address"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<article>bar<p>baz",
            "input": "<!doctype html><p>foo<article>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "article",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><article><p>foo</article>bar",
            "input": "<!doctype html><article><p>foo</article>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "article",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "article"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<aside>bar<p>baz",
            "input": "<!doctype html><p>foo<aside>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "aside",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><aside><p>foo</aside>bar",
            "input": "<!doctype html><aside><p>foo</aside>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "aside",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "aside"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<blockquote>bar<p>baz",
            "input": "<!doctype html><p>foo<blockquote>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "blockquote",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><blockquote><p>foo</blockquote>bar",
            "input": "<!doctype html><blockquote><p>foo</blockquote>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "blockquote",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "blockquote"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<center>bar<p>baz",
            "input": "<!doctype html><p>foo<center>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "center",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><center><p>foo</center>bar",
            "input": "<!doctype html><center><p>foo</center>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "center",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "center"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<details>bar<p>baz",
            "input": "<!doctype html><p>foo<details>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "details",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><details><p>foo</details>bar",
            "input": "<!doctype html><details><p>foo</details>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "details",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "details"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<dialog>bar<p>baz",
            "input": "<!doctype html><p>foo<dialog>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "dialog",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><dialog><p>foo</dialog>bar",
            "input": "<!doctype html><dialog><p>foo</dialog>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "dialog",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "dialog"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<dir>bar<p>baz",
            "input": "<!doctype html><p>foo<dir>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "dir",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><dir><p>foo</dir>bar",
            "input": "<!doctype html><dir><p>foo</dir>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "dir",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "dir"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<div>bar<p>baz",
            "input": "<!doctype html><p>foo<div>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "div",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><div><p>foo</div>bar",
            "input": "<!doctype html><div><p>foo</div>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "div",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "div"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<dl>bar<p>baz",
            "input": "<!doctype html><p>foo<dl>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "dl",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><dl><p>foo</dl>bar",
            "input": "<!doctype html><dl><p>foo</dl>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "dl",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "dl"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<fieldset>bar<p>baz",
            "input": "<!doctype html><p>foo<fieldset>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "fieldset",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><fieldset><p>foo</fieldset>bar",
            "input": "<!doctype html><fieldset><p>foo</fieldset>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "fieldset",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "fieldset"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<figcaption>bar<p>baz",
            "input": "<!doctype html><p>foo<figcaption>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "figcaption",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><figcaption><p>foo</figcaption>bar",
            "input": "<!doctype html><figcaption><p>foo</figcaption>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "figcaption",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "figcaption"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<figure>bar<p>baz",
            "input": "<!doctype html><p>foo<figure>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "figure",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><figure><p>foo</figure>bar",
            "input": "<!doctype html><figure><p>foo</figure>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "figure",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "figure"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<footer>bar<p>baz",
            "input": "<!doctype html><p>foo<footer>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "footer",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><footer><p>foo</footer>bar",
            "input": "<!doctype html><footer><p>foo</footer>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "footer",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "footer"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<header>bar<p>baz",
            "input": "<!doctype html><p>foo<header>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "header",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><header><p>foo</header>bar",
            "input": "<!doctype html><header><p>foo</header>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "header",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "header"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<hgroup>bar<p>baz",
            "input": "<!doctype html><p>foo<hgroup>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "hgroup",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><hgroup><p>foo</hgroup>bar",
            "input": "<!doctype html><hgroup><p>foo</hgroup>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "hgroup",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "hgroup"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<listing>bar<p>baz",
            "input": "<!doctype html><p>foo<listing>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "listing",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><listing><p>foo</listing>bar",
            "input": "<!doctype html><listing><p>foo</listing>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "listing",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "listing"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<menu>bar<p>baz",
            "input": "<!doctype html><p>foo<menu>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "menu",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><menu><p>foo</menu>bar",
            "input": "<!doctype html><menu><p>foo</menu>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "menu",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "menu"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<nav>bar<p>baz",
            "input": "<!doctype html><p>foo<nav>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "nav",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><nav><p>foo</nav>bar",
            "input": "<!doctype html><nav><p>foo</nav>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "nav",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "nav"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<ol>bar<p>baz",
            "input": "<!doctype html><p>foo<ol>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "ol",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><ol><p>foo</ol>bar",
            "input": "<!doctype html><ol><p>foo</ol>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "ol",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "ol"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<pre>bar<p>baz",
            "input": "<!doctype html><p>foo<pre>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "pre",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><pre><p>foo</pre>bar",
            "input": "<!doctype html><pre><p>foo</pre>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "pre",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "pre"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<section>bar<p>baz",
            "input": "<!doctype html><p>foo<section>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "section",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><section><p>foo</section>bar",
            "input": "<!doctype html><section><p>foo</section>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "section",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "section"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<summary>bar<p>baz",
            "input": "<!doctype html><p>foo<summary>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "summary",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><summary><p>foo</summary>bar",
            "input": "<!doctype html><summary><p>foo</summary>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "summary",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "summary"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><p>foo<ul>bar<p>baz",
            "input": "<!doctype html><p>foo<ul>bar<p>baz",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "StartTag",
                    "ul",
                    {}
                ],
                [
                    "Character",
                    "bar"
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "baz"
                ]
            ]
        },
        {
            "fragmentContext": null,
            "description": "<!doctype html><ul><p>foo</ul>bar",
            "input": "<!doctype html><ul><p>foo</ul>bar",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "ul",
                    {}
                ],
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "Character",
                    "foo"
                ],
                [
                    "EndTag",
                    "ul"
                ],
                [
                    "Character",
                    "bar"
                ]
            ]
        }
    ]
}