swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tests23_dat/2.json
2022-05-17 08:23:24 +00:00

332 lines
11 KiB
JSON

{
"type": "Document",
"span": {
"start": 1,
"end": 75,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 75,
"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": 75,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 1,
"end": 71,
"ctxt": 0
},
"tagName": "p",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 4,
"end": 71,
"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": 71,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 23,
"end": 29,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 30,
"end": 71,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 36,
"end": 42,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 43,
"end": 71,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 49,
"end": 57,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "5"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 58,
"end": 71,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 64,
"end": 70,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 71,
"end": 75,
"ctxt": 0
},
"tagName": "p",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 17,
"end": 75,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 23,
"end": 29,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 30,
"end": 75,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 36,
"end": 42,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 43,
"end": 75,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 49,
"end": 57,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "5"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 58,
"end": 75,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 64,
"end": 70,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Text",
"span": {
"start": 74,
"end": 75,
"ctxt": 0
},
"value": "X"
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}