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

145 lines
3.6 KiB
JSON
Raw Normal View History

{
"type": "Document",
"span": {
"start": 0,
"end": 22,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 22,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 3,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 22,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 11,
"ctxt": 0
},
"tagName": "b",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 3,
"end": 4,
"ctxt": 0
},
"value": "A"
},
{
"type": "Element",
"span": {
"start": 4,
"end": 11,
"ctxt": 0
},
"tagName": "cite",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 10,
"end": 11,
"ctxt": 0
},
"value": "B"
}
],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 11,
"end": 22,
"ctxt": 0
},
"tagName": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 17,
"ctxt": 0
},
"tagName": "b",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 16,
"end": 17,
"ctxt": 0
},
"value": "C"
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 21,
"end": 22,
"ctxt": 0
},
"value": "D"
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}