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

353 lines
12 KiB
JSON

{
"type": "Document",
"span": {
"start": 1,
"end": 70,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 70,
"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": 70,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 1,
"end": 66,
"ctxt": 0
},
"tagName": "p",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 4,
"end": 66,
"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"
},
{
"type": "Attribute",
"span": {
"start": 17,
"end": 21,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "id",
"value": "a"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 22,
"end": 66,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 28,
"end": 34,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
},
{
"type": "Attribute",
"span": {
"start": 35,
"end": 39,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "id",
"value": "b"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 40,
"end": 66,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 46,
"end": 52,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 53,
"end": 66,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 59,
"end": 65,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 66,
"end": 70,
"ctxt": 0
},
"tagName": "p",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 4,
"end": 70,
"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"
},
{
"type": "Attribute",
"span": {
"start": 17,
"end": 21,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "id",
"value": "a"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 22,
"end": 70,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 28,
"end": 34,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
},
{
"type": "Attribute",
"span": {
"start": 35,
"end": 39,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "id",
"value": "b"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 40,
"end": 70,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 46,
"end": 52,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Element",
"span": {
"start": 53,
"end": 70,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 59,
"end": 65,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "size",
"value": "4"
}
],
"children": [
{
"type": "Text",
"span": {
"start": 69,
"end": 70,
"ctxt": 0
},
"value": "X"
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}