{
  "type": "Document",
  "span": {
    "start": 1,
    "end": 67
  },
  "mode": "quirks",
  "children": [
    {
      "type": "Element",
      "span": {
        "start": 0,
        "end": 0
      },
      "tagName": "html",
      "namespace": "http://www.w3.org/1999/xhtml",
      "attributes": [],
      "children": [
        {
          "type": "Element",
          "span": {
            "start": 0,
            "end": 0
          },
          "tagName": "head",
          "namespace": "http://www.w3.org/1999/xhtml",
          "attributes": [],
          "children": [
            {
              "type": "Element",
              "span": {
                "start": 1,
                "end": 62
              },
              "tagName": "template",
              "namespace": "http://www.w3.org/1999/xhtml",
              "attributes": [],
              "children": [],
              "content": {
                "type": "DocumentFragment",
                "span": {
                  "start": 1,
                  "end": 62
                },
                "children": [
                  {
                    "type": "Element",
                    "span": {
                      "start": 11,
                      "end": 51
                    },
                    "tagName": "svg",
                    "namespace": "http://www.w3.org/2000/svg",
                    "attributes": [],
                    "children": [
                      {
                        "type": "Element",
                        "span": {
                          "start": 16,
                          "end": 51
                        },
                        "tagName": "foo",
                        "namespace": "http://www.w3.org/2000/svg",
                        "attributes": [],
                        "children": [
                          {
                            "type": "Element",
                            "span": {
                              "start": 21,
                              "end": 51
                            },
                            "tagName": "template",
                            "namespace": "http://www.w3.org/2000/svg",
                            "attributes": [],
                            "children": [
                              {
                                "type": "Element",
                                "span": {
                                  "start": 31,
                                  "end": 51
                                },
                                "tagName": "foreignObject",
                                "namespace": "http://www.w3.org/2000/svg",
                                "attributes": [],
                                "children": [
                                  {
                                    "type": "Element",
                                    "span": {
                                      "start": 46,
                                      "end": 51
                                    },
                                    "tagName": "div",
                                    "namespace": "http://www.w3.org/1999/xhtml",
                                    "attributes": [],
                                    "children": [],
                                    "content": null,
                                    "isSelfClosing": false
                                  }
                                ],
                                "content": null,
                                "isSelfClosing": false
                              }
                            ],
                            "content": null,
                            "isSelfClosing": false
                          }
                        ],
                        "content": null,
                        "isSelfClosing": false
                      }
                    ],
                    "content": null,
                    "isSelfClosing": false
                  }
                ]
              },
              "isSelfClosing": false
            }
          ],
          "content": null,
          "isSelfClosing": false
        },
        {
          "type": "Element",
          "span": {
            "start": 0,
            "end": 0
          },
          "tagName": "body",
          "namespace": "http://www.w3.org/1999/xhtml",
          "attributes": [],
          "children": [
            {
              "type": "Element",
              "span": {
                "start": 62,
                "end": 67
              },
              "tagName": "div",
              "namespace": "http://www.w3.org/1999/xhtml",
              "attributes": [],
              "children": [],
              "content": null,
              "isSelfClosing": false
            }
          ],
          "content": null,
          "isSelfClosing": false
        }
      ],
      "content": null,
      "isSelfClosing": false
    }
  ]
}
