swc/crates/swc_html_parser/tests/html5lib-tests-fixture/template_dat/108.fragment.template.json

96 lines
2.2 KiB
JSON
Raw Normal View History

{
"type": "DocumentFragment",
"span": {
"start": 1,
"end": 68,
"ctxt": 0
},
"children": [
{
"type": "Element",
"span": {
"start": 1,
"end": 51,
"ctxt": 0
},
"tagName": "template",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": {
"type": "DocumentFragment",
"span": {
"start": 1,
"end": 51,
"ctxt": 0
2022-05-11 06:31:49 +03:00
},
"children": [
{
"type": "Element",
"span": {
"start": 11,
"end": 33,
"ctxt": 0
},
"tagName": "form",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 17,
"end": 33,
"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
2022-05-11 06:31:49 +03:00
},
{
"type": "Element",
"span": {
"start": 40,
"end": 51,
"ctxt": 0
},
"tagName": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 45,
"end": 51,
"ctxt": 0
},
"value": "second"
}
],
"content": null
}
]
}
}
]
}