swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tests26_dat/4.json

188 lines
5.0 KiB
JSON
Raw Normal View History

{
"type": "Document",
"span": {
"start": 0,
"end": 67,
"ctxt": 0
},
"mode": "no-quirks",
"children": [
{
"type": "DocumentType",
"span": {
"start": 0,
"end": 15,
"ctxt": 0
},
"name": "html",
"publicId": null,
"systemId": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 67,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 21,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 15,
"end": 67,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 21,
"end": 31,
"ctxt": 0
},
"tagName": "b",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 24,
"end": 31,
"ctxt": 0
},
"tagName": "nobr",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 30,
"end": 31,
"ctxt": 0
},
"value": "1"
}
],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 31,
"end": 67,
"ctxt": 0
},
"tagName": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 21,
"end": 42,
"ctxt": 0
},
"tagName": "b",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 24,
"end": 42,
"ctxt": 0
},
"tagName": "nobr",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 46,
"end": 56,
"ctxt": 0
},
"tagName": "i",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 49,
"end": 56,
"ctxt": 0
},
"tagName": "nobr",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 55,
"end": 56,
"ctxt": 0
},
"value": "2"
}
],
"content": null
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 66,
"end": 67,
"ctxt": 0
},
"value": "3"
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}