swc/crates/swc_html_parser/tests/html5lib-tests-fixture/template_dat/108.fragment.template.json
2022-05-11 03:31:49 +00:00

88 lines
1.9 KiB
JSON

{
"type": "DocumentFragment",
"span": {
"start": 0,
"end": 67,
"ctxt": 0
},
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 50,
"ctxt": 0
},
"tagName": "template",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 10,
"end": 32,
"ctxt": 0
},
"tagName": "form",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 16,
"end": 32,
"ctxt": 0
},
"tagName": "input",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "name",
"value": "q"
}
],
"children": [],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 39,
"end": 50,
"ctxt": 0
},
"tagName": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 44,
"end": 50,
"ctxt": 0
},
"value": "second"
}
],
"content": null
}
],
"content": null
}
]
}