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

204 lines
5.9 KiB
JSON
Raw Normal View History

{
"type": "Document",
"span": {
"start": 0,
"end": 56,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 52,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 52,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 52,
"ctxt": 0
},
"tagName": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 5,
"end": 10,
"ctxt": 0
},
"value": " abc "
},
{
"type": "Element",
"span": {
"start": 10,
"end": 26,
"ctxt": 0
},
"tagName": "b",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 13,
"end": 18,
"ctxt": 0
},
"value": " def "
},
{
"type": "Element",
"span": {
"start": 18,
"end": 26,
"ctxt": 0
},
"tagName": "i",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 21,
"end": 26,
"ctxt": 0
},
"value": " ghi "
}
],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 18,
"end": 38,
"ctxt": 0
},
"tagName": "i",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 26,
"end": 52,
"ctxt": 0
},
"tagName": "p",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 18,
"end": 43,
"ctxt": 0
},
"tagName": "i",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 10,
"end": 34,
"ctxt": 0
},
"tagName": "b",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 29,
"end": 34,
"ctxt": 0
},
"value": " jkl "
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 38,
"end": 43,
"ctxt": 0
},
"value": " mno "
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 47,
"end": 52,
"ctxt": 0
},
"value": " pqr "
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}