swc/crates/swc_html_parser/tests/html5lib-tests-fixture/webkit01_dat.29.output.json

291 lines
8.4 KiB
JSON
Raw Normal View History

{
"type": "Document",
"span": {
"start": 1,
"end": 128,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
2022-06-07 17:33:06 +03:00
"end": 0,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
2022-06-07 17:33:06 +03:00
"end": 0,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": false
},
{
"type": "Element",
"span": {
"start": 0,
2022-06-07 17:33:06 +03:00
"end": 0,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 1,
"end": 18,
"ctxt": 0
},
"tagName": "select",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 9,
"end": 18,
"ctxt": 0
},
"tagName": "option",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 17,
"end": 18,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": "A",
"raw": "A"
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
},
{
"type": "Element",
"span": {
"start": 26,
"end": 52,
"ctxt": 0
},
"tagName": "option",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 34,
"end": 35,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": "B",
"raw": "B"
},
{
"type": "Element",
"span": {
"start": 35,
"end": 52,
"ctxt": 0
},
"tagName": "select",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 43,
"end": 52,
"ctxt": 0
},
"tagName": "option",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 51,
"end": 52,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": "C",
"raw": "C"
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
},
{
"type": "Element",
"span": {
"start": 60,
"end": 86,
"ctxt": 0
},
"tagName": "option",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 68,
"end": 69,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": "D",
"raw": "D"
},
{
"type": "Element",
"span": {
"start": 69,
"end": 86,
"ctxt": 0
},
"tagName": "select",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 77,
"end": 86,
"ctxt": 0
},
"tagName": "option",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 85,
"end": 86,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": "E",
"raw": "E"
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
},
{
"type": "Element",
"span": {
"start": 94,
2022-07-15 04:38:44 +03:00
"end": 128,
"ctxt": 0
},
"tagName": "option",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 102,
"end": 103,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": "F",
"raw": "F"
},
{
"type": "Element",
"span": {
"start": 103,
"end": 120,
"ctxt": 0
},
"tagName": "select",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 111,
"end": 120,
"ctxt": 0
},
"tagName": "option",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 119,
"end": 120,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": "G",
"raw": "G"
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
]
}