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

157 lines
4.2 KiB
JSON

{
"type": "Document",
"span": {
"start": 0,
"end": 47,
"ctxt": 0
},
"mode": "no-quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 47,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 10,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 47,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 47,
"ctxt": 0
},
"tagName": "a",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "href",
"value": "a"
}
],
"children": [
{
"type": "Text",
"span": {
"start": 10,
"end": 12,
"ctxt": 0
},
"value": "aa"
},
{
"type": "Element",
"span": {
"start": 12,
"end": 35,
"ctxt": 0
},
"tagName": "marquee",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 21,
"end": 23,
"ctxt": 0
},
"value": "aa"
},
{
"type": "Element",
"span": {
"start": 23,
"end": 35,
"ctxt": 0
},
"tagName": "a",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "href",
"value": "b"
}
],
"children": [
{
"type": "Text",
"span": {
"start": 33,
"end": 35,
"ctxt": 0
},
"value": "bb"
}
],
"content": null
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 45,
"end": 47,
"ctxt": 0
},
"value": "aa"
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}