[
    /* Test count: 17 */
    /* Test number: 1 */
    {
        "data": $DATA{ ,12}
            <style> <!-- </style>x
        $DATA,
        "errors": [
            {"line": 1, "col": 7, "id": "expected-doctype-but-got-start-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
                <style>
                  " <!-- "
              <body>
                "x"
        $DATA
    },
    /* Test number: 2 */
    {
        "data": $DATA{ ,12}
            <style> <!-- </style> --> </style>x
        $DATA,
        "errors": [
            {"line": 1, "col": 7, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 34, "id": "unexpected-end-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
                <style>
                  " <!-- "
                " "
              <body>
                "--> x"
        $DATA
    },
    /* Test number: 3 */
    {
        "data": $DATA{ ,12}
            <style> <!--> </style>x
        $DATA,
        "errors": [
            {"line": 1, "col": 7, "id": "expected-doctype-but-got-start-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
                <style>
                  " <!--> "
              <body>
                "x"
        $DATA
    },
    /* Test number: 4 */
    {
        "data": $DATA{ ,12}
            <style> <!---> </style>x
        $DATA,
        "errors": [
            {"line": 1, "col": 7, "id": "expected-doctype-but-got-start-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
                <style>
                  " <!---> "
              <body>
                "x"
        $DATA
    },
    /* Test number: 5 */
    {
        "data": $DATA{ ,12}
            <iframe> <!---> </iframe>x
        $DATA,
        "errors": [
            {"line": 1, "col": 8, "id": "expected-doctype-but-got-start-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <iframe>
                  " <!---> "
                "x"
        $DATA
    },
    /* Test number: 6 */
    {
        "data": $DATA{ ,12}
            <iframe> <!--- </iframe>->x</iframe> --> </iframe>x
        $DATA,
        "errors": [
            {"line": 1, "col": 8, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 36, "id": "unexpected-end-tag"},
            {"line": 1, "col": 50, "id": "unexpected-end-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <iframe>
                  " <!--- "
                "->x --> x"
        $DATA
    },
    /* Test number: 7 */
    {
        "data": $DATA{ ,12}
            <script> <!-- </script> --> </script>x
        $DATA,
        "errors": [
            {"line": 1, "col": 8, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 37, "id": "unexpected-end-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
                <script>
                  " <!-- "
                " "
              <body>
                "--> x"
        $DATA
    },
    /* Test number: 8 */
    {
        "data": $DATA{ ,12}
            <title> <!-- </title> --> </title>x
        $DATA,
        "errors": [
            {"line": 1, "col": 7, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 34, "id": "unexpected-end-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
                <title>
                  " <!-- "
                " "
              <body>
                "--> x"
        $DATA
    },
    /* Test number: 9 */
    {
        "data": $DATA{ ,12}
            <textarea> <!--- </textarea>->x</textarea> --> </textarea>x
        $DATA,
        "errors": [
            {"line": 1, "col": 10, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 42, "id": "unexpected-end-tag"},
            {"line": 1, "col": 58, "id": "unexpected-end-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <textarea>
                  " <!--- "
                "->x --> x"
        $DATA
    },
    /* Test number: 10 */
    {
        "data": $DATA{ ,12}
            <style> <!</-- </style>x
        $DATA,
        "errors": [
            {"line": 1, "col": 7, "id": "expected-doctype-but-got-start-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
                <style>
                  " <!</-- "
              <body>
                "x"
        $DATA
    },
    /* Test number: 11 */
    {
        "data": $DATA{ ,12}
            <p><xmp></xmp>
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-start-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <p>
                <xmp>
        $DATA
    },
    /* Test number: 12 */
    {
        "data": $DATA{ ,12}
            <xmp> <!-- > --> </xmp>
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <xmp>
                  " <!-- > --> "
        $DATA
    },
    /* Test number: 13 */
    {
        "data": $DATA{ ,12}
            <title>&amp;</title>
        $DATA,
        "errors": [
            {"line": 1, "col": 7, "id": "expected-doctype-but-got-start-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
                <title>
                  "&"
              <body>
        $DATA
    },
    /* Test number: 14 */
    {
        "data": $DATA{ ,12}
            <title><!--&amp;--></title>
        $DATA,
        "errors": [
            {"line": 1, "col": 7, "id": "expected-doctype-but-got-start-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
                <title>
                  "<!--&-->"
              <body>
        $DATA
    },
    /* Test number: 15 */
    {
        "data": $DATA{ ,12}
            <title><!--</title>
        $DATA,
        "errors": [
            {"line": 1, "col": 7, "id": "expected-doctype-but-got-start-tag"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
                <title>
                  "<!--"
              <body>
        $DATA
    },
    /* Test number: 16 */
    {
        "data": $DATA{ ,12}
            <noscript><!--</noscript>--></noscript>
        $DATA,
        "errors": [
            {"line": 1, "col": 10, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 39, "id": "unexpected-end-tag"}
        ],
        "scripting": true,
        "result": $DATA{ ,12}
            <html>
              <head>
                <noscript>
                  "<!--"
              <body>
                "-->"
        $DATA
    },
    /* Test number: 17 */
    {
        "data": $DATA{ ,12}
            <noscript><!--</noscript>--></noscript>
        $DATA,
        "errors": [
            {"line": 1, "col": 10, "id": "expected-doctype-but-got-start-tag"}
        ],
        "scripting": false,
        "result": $DATA{ ,12}
            <html>
              <head>
                <noscript>
                  <!-- </noscript> -->
              <body>
        $DATA
    },
]