swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tests19_dat/2.json

72 lines
1.4 KiB
JSON

{
"type": "Document",
"span": {
"start": 0,
"end": 42,
"ctxt": 0
},
"mode": "no-quirks",
"children": [
{
"type": "DocumentType",
"span": {
"start": 0,
"end": 15,
"ctxt": 0
},
"name": "html",
"publicId": null,
"systemId": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 42,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 15,
"end": 21,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Comment",
"span": {
"start": 32,
"end": 42,
"ctxt": 0
},
"data": "foo"
},
{
"type": "Element",
"span": {
"start": 0,
"end": 42,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
}
],
"content": null
}
]
}