swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tests1_dat/84.json

112 lines
2.6 KiB
JSON
Raw Normal View History

{
"type": "Document",
"span": {
"start": 0,
"end": 51,
"ctxt": 0
},
"mode": "no-quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 51,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 42,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 11,
"ctxt": 0
},
"tagName": "style",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 7,
"end": 11,
"ctxt": 0
},
"value": "<!--"
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 19,
"end": 25,
"ctxt": 0
},
"tagName": "meta",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 25,
"end": 42,
"ctxt": 0
},
"tagName": "script",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 33,
"end": 42,
"ctxt": 0
},
"value": "--><link>"
}
],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 51,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
}
],
"content": null
}
]
}