swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tests23_dat/0.json

440 lines
17 KiB
JSON
Raw Normal View History

{
"type": "Document",
"span": {
"start": 1,
"end": 118,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 118,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 4,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 118,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 1,
"end": 114,
"ctxt": 0
},
"tagName": "p",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 4,
"end": 114,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 10,
"end": 16,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 17,
"end": 114,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 23,
"end": 32,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "color",
"value": "red"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 33,
"end": 114,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 39,
"end": 45,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 46,
"end": 114,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 52,
"end": 58,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 59,
"end": 114,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 65,
"end": 71,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 72,
"end": 114,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 78,
"end": 84,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 85,
"end": 114,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 91,
"end": 97,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 98,
"end": 114,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 104,
"end": 113,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "color",
"value": "red"
}
],
"children": [],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 114,
"end": 118,
"ctxt": 0
},
"tagName": "p",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 17,
"end": 118,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 23,
"end": 32,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "color",
"value": "red"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 59,
"end": 118,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 65,
"end": 71,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 72,
"end": 118,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 78,
"end": 84,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 85,
"end": 118,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 91,
"end": 97,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 98,
"end": 118,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 104,
"end": 113,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "color",
"value": "red"
}
],
"children": [
{
"type": "Text",
"span": {
"start": 117,
"end": 118,
"ctxt": 0
},
"value": "X"
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}