{
  "type": "Document",
  "span": {
    "start": 1,
    "end": 388
  },
  "mode": "no-quirks",
  "children": [
    {
      "type": "DocumentType",
      "span": {
        "start": 1,
        "end": 16
      },
      "name": "html",
      "publicId": null,
      "systemId": null,
      "raw": "<!doctype html>"
    },
    {
      "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": [],
          "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": 17,
                "end": 74
              },
              "tagName": "select",
              "namespace": "http://www.w3.org/1999/xhtml",
              "attributes": [],
              "children": [
                {
                  "type": "Element",
                  "span": {
                    "start": 25,
                    "end": 45
                  },
                  "tagName": "option",
                  "namespace": "http://www.w3.org/1999/xhtml",
                  "attributes": [],
                  "children": [
                    {
                      "type": "Text",
                      "span": {
                        "start": 33,
                        "end": 36
                      },
                      "data": "foo",
                      "raw": "foo"
                    }
                  ],
                  "content": null,
                  "isSelfClosing": false
                },
                {
                  "type": "Element",
                  "span": {
                    "start": 45,
                    "end": 65
                  },
                  "tagName": "option",
                  "namespace": "http://www.w3.org/1999/xhtml",
                  "attributes": [],
                  "children": [
                    {
                      "type": "Text",
                      "span": {
                        "start": 53,
                        "end": 56
                      },
                      "data": "bar",
                      "raw": "bar"
                    }
                  ],
                  "content": null,
                  "isSelfClosing": false
                }
              ],
              "content": null,
              "isSelfClosing": false
            },
            {
              "type": "Text",
              "span": {
                "start": 74,
                "end": 75
              },
              "data": "\n",
              "raw": "\n"
            },
            {
              "type": "Element",
              "span": {
                "start": 75,
                "end": 114
              },
              "tagName": "select",
              "namespace": "http://www.w3.org/1999/xhtml",
              "attributes": [],
              "children": [
                {
                  "type": "Element",
                  "span": {
                    "start": 83,
                    "end": 94
                  },
                  "tagName": "option",
                  "namespace": "http://www.w3.org/1999/xhtml",
                  "attributes": [],
                  "children": [
                    {
                      "type": "Text",
                      "span": {
                        "start": 91,
                        "end": 94
                      },
                      "data": "foo",
                      "raw": "foo"
                    }
                  ],
                  "content": null,
                  "isSelfClosing": false
                },
                {
                  "type": "Element",
                  "span": {
                    "start": 94,
                    "end": 105
                  },
                  "tagName": "option",
                  "namespace": "http://www.w3.org/1999/xhtml",
                  "attributes": [],
                  "children": [
                    {
                      "type": "Text",
                      "span": {
                        "start": 102,
                        "end": 105
                      },
                      "data": "bar",
                      "raw": "bar"
                    }
                  ],
                  "content": null,
                  "isSelfClosing": false
                }
              ],
              "content": null,
              "isSelfClosing": false
            },
            {
              "type": "Text",
              "span": {
                "start": 114,
                "end": 115
              },
              "data": "\n",
              "raw": "\n"
            },
            {
              "type": "Element",
              "span": {
                "start": 115,
                "end": 143
              },
              "tagName": "select",
              "namespace": "http://www.w3.org/1999/xhtml",
              "attributes": [],
              "children": [
                {
                  "type": "Element",
                  "span": {
                    "start": 123,
                    "end": 134
                  },
                  "tagName": "option",
                  "namespace": "http://www.w3.org/1999/xhtml",
                  "attributes": [],
                  "children": [
                    {
                      "type": "Text",
                      "span": {
                        "start": 131,
                        "end": 134
                      },
                      "data": "foo",
                      "raw": "foo"
                    }
                  ],
                  "content": null,
                  "isSelfClosing": false
                }
              ],
              "content": null,
              "isSelfClosing": false
            },
            {
              "type": "Text",
              "span": {
                "start": 143,
                "end": 144
              },
              "data": "\n",
              "raw": "\n"
            },
            {
              "type": "Element",
              "span": {
                "start": 144,
                "end": 214
              },
              "tagName": "select",
              "namespace": "http://www.w3.org/1999/xhtml",
              "attributes": [],
              "children": [
                {
                  "type": "Text",
                  "span": {
                    "start": 152,
                    "end": 153
                  },
                  "data": " ",
                  "raw": " "
                },
                {
                  "type": "Element",
                  "span": {
                    "start": 153,
                    "end": 173
                  },
                  "tagName": "option",
                  "namespace": "http://www.w3.org/1999/xhtml",
                  "attributes": [],
                  "children": [
                    {
                      "type": "Text",
                      "span": {
                        "start": 161,
                        "end": 164
                      },
                      "data": "foo",
                      "raw": "foo"
                    }
                  ],
                  "content": null,
                  "isSelfClosing": false
                },
                {
                  "type": "Text",
                  "span": {
                    "start": 173,
                    "end": 174
                  },
                  "data": " ",
                  "raw": " "
                },
                {
                  "type": "Element",
                  "span": {
                    "start": 174,
                    "end": 194
                  },
                  "tagName": "option",
                  "namespace": "http://www.w3.org/1999/xhtml",
                  "attributes": [],
                  "children": [
                    {
                      "type": "Text",
                      "span": {
                        "start": 182,
                        "end": 185
                      },
                      "data": "bar",
                      "raw": "bar"
                    }
                  ],
                  "content": null,
                  "isSelfClosing": false
                },
                {
                  "type": "Element",
                  "span": {
                    "start": 194,
                    "end": 205
                  },
                  "tagName": "option",
                  "namespace": "http://www.w3.org/1999/xhtml",
                  "attributes": [],
                  "children": [
                    {
                      "type": "Text",
                      "span": {
                        "start": 202,
                        "end": 205
                      },
                      "data": "foo",
                      "raw": "foo"
                    }
                  ],
                  "content": null,
                  "isSelfClosing": false
                }
              ],
              "content": null,
              "isSelfClosing": false
            },
            {
              "type": "Text",
              "span": {
                "start": 214,
                "end": 215
              },
              "data": "\n",
              "raw": "\n"
            },
            {
              "type": "Element",
              "span": {
                "start": 215,
                "end": 388
              },
              "tagName": "select",
              "namespace": "http://www.w3.org/1999/xhtml",
              "attributes": [],
              "children": [
                {
                  "type": "Element",
                  "span": {
                    "start": 223,
                    "end": 287
                  },
                  "tagName": "optgroup",
                  "namespace": "http://www.w3.org/1999/xhtml",
                  "attributes": [
                    {
                      "type": "Attribute",
                      "span": {
                        "start": 233,
                        "end": 248
                      },
                      "namespace": null,
                      "prefix": null,
                      "name": "label",
                      "rawName": "label",
                      "value": "Group 1",
                      "rawValue": "\"Group 1\""
                    }
                  ],
                  "children": [
                    {
                      "type": "Element",
                      "span": {
                        "start": 249,
                        "end": 276
                      },
                      "tagName": "option",
                      "namespace": "http://www.w3.org/1999/xhtml",
                      "attributes": [],
                      "children": [
                        {
                          "type": "Text",
                          "span": {
                            "start": 257,
                            "end": 267
                          },
                          "data": "Option 1.1",
                          "raw": "Option 1.1"
                        }
                      ],
                      "content": null,
                      "isSelfClosing": false
                    }
                  ],
                  "content": null,
                  "isSelfClosing": false
                },
                {
                  "type": "Text",
                  "span": {
                    "start": 287,
                    "end": 288
                  },
                  "data": " ",
                  "raw": " "
                },
                {
                  "type": "Element",
                  "span": {
                    "start": 288,
                    "end": 379
                  },
                  "tagName": "optgroup",
                  "namespace": "http://www.w3.org/1999/xhtml",
                  "attributes": [
                    {
                      "type": "Attribute",
                      "span": {
                        "start": 298,
                        "end": 313
                      },
                      "namespace": null,
                      "prefix": null,
                      "name": "label",
                      "rawName": "label",
                      "value": "Group 2",
                      "rawValue": "\"Group 2\""
                    }
                  ],
                  "children": [
                    {
                      "type": "Element",
                      "span": {
                        "start": 314,
                        "end": 341
                      },
                      "tagName": "option",
                      "namespace": "http://www.w3.org/1999/xhtml",
                      "attributes": [],
                      "children": [
                        {
                          "type": "Text",
                          "span": {
                            "start": 322,
                            "end": 332
                          },
                          "data": "Option 2.1",
                          "raw": "Option 2.1"
                        }
                      ],
                      "content": null,
                      "isSelfClosing": false
                    },
                    {
                      "type": "Element",
                      "span": {
                        "start": 341,
                        "end": 368
                      },
                      "tagName": "option",
                      "namespace": "http://www.w3.org/1999/xhtml",
                      "attributes": [],
                      "children": [
                        {
                          "type": "Text",
                          "span": {
                            "start": 349,
                            "end": 359
                          },
                          "data": "Option 2.2",
                          "raw": "Option 2.2"
                        }
                      ],
                      "content": null,
                      "isSelfClosing": false
                    }
                  ],
                  "content": null,
                  "isSelfClosing": false
                }
              ],
              "content": null,
              "isSelfClosing": false
            }
          ],
          "content": null,
          "isSelfClosing": false
        }
      ],
      "content": null,
      "isSelfClosing": false
    }
  ]
}
