swc/crates/swc_html_parser/tests/recovery/element/noscript-1/output.json
2022-05-21 19:34:02 +00:00

89 lines
2.0 KiB
JSON

{
"type": "Document",
"span": {
"start": 1,
"end": 43,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 32,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 1,
"end": 17,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 7,
"end": 17,
"ctxt": 0
},
"tagName": "noscript",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 32,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 22,
"ctxt": 0
},
"tagName": "br",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Comment",
"span": {
"start": 22,
"end": 32,
"ctxt": 0
},
"data": "foo"
}
],
"content": null
}
],
"content": null
}
]
}