swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tests18_dat/31.json

95 lines
1.9 KiB
JSON

{
"type": "Document",
"span": {
"start": 0,
"end": 70,
"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": 70,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 25,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 15,
"end": 25,
"ctxt": 0
},
"tagName": "frameset",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 36,
"end": 49,
"ctxt": 0
},
"tagName": "noframes",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 46,
"end": 49,
"ctxt": 0
},
"value": "abc"
}
],
"content": null
},
{
"type": "Comment",
"span": {
"start": 60,
"end": 70,
"ctxt": 0
},
"data": "abc"
}
],
"content": null
}
]
}