swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tests2_dat.15.output.json

124 lines
2.8 KiB
JSON
Raw Normal View History

{
"type": "Document",
"span": {
"start": 1,
"end": 54,
"ctxt": 0
},
"mode": "no-quirks",
"children": [
{
"type": "DocumentType",
"span": {
"start": 1,
"end": 16,
"ctxt": 0
},
"name": "html",
"publicId": null,
"systemId": null,
"raw": "<!DOCTYPE html>"
},
{
"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": 16,
2022-07-15 04:38:44 +03:00
"end": 54,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 22,
"end": 26,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "t1",
"rawName": "t1",
"value": "1",
"rawValue": "1"
},
{
"type": "Attribute",
"span": {
"start": 33,
"end": 37,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "t2",
"rawName": "t2",
"value": "2",
"rawValue": "2"
},
{
"type": "Attribute",
"span": {
"start": 44,
"end": 48,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "t3",
"rawName": "t3",
"value": "3",
"rawValue": "3"
},
{
"type": "Attribute",
"span": {
"start": 49,
"end": 53,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "t4",
"rawName": "t4",
"value": "4",
"rawValue": "4"
}
],
"children": [],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
]
}