swc/crates/swc_html_parser/tests/html5lib-tests-fixture/adoption01_dat/17.fragment.div.json

107 lines
2.5 KiB
JSON

{
"type": "DocumentFragment",
"span": {
"start": 1,
"end": 41,
"ctxt": 0
},
"children": [
{
"type": "Element",
"span": {
"start": 1,
"end": 25,
"ctxt": 0
},
"tagName": "b",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 4,
"end": 25,
"ctxt": 0
},
"tagName": "em",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 8,
"end": 25,
"ctxt": 0
},
"tagName": "foo",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 13,
"end": 25,
"ctxt": 0
},
"tagName": "foob",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 19,
"end": 25,
"ctxt": 0
},
"tagName": "fooc",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 25,
"end": 36,
"ctxt": 0
},
"tagName": "aside",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 1,
"end": 36,
"ctxt": 0
},
"tagName": "b",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
}
],
"content": null
}
]
}