swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tricky01_dat.5.output.json

245 lines
7.0 KiB
JSON
Raw Normal View History

{
"type": "Document",
"span": {
"start": 1,
"end": 69,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
2022-06-07 17:33:06 +03:00
"end": 0,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
2022-06-07 17:33:06 +03:00
"end": 0,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": false
},
{
"type": "Element",
"span": {
"start": 0,
2022-06-07 17:33:06 +03:00
"end": 0,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 8,
"end": 33,
"ctxt": 0
},
"tagName": "center",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 16,
"end": 17,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": " ",
"raw": " "
},
{
"type": "Element",
"span": {
"start": 17,
"end": 24,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 23,
"end": 24,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": "a",
"raw": "a"
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
},
{
"type": "Element",
"span": {
"start": 17,
"end": 40,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 34,
"end": 39,
"ctxt": 0
},
"tagName": "img",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": false
},
{
"type": "Text",
"span": {
"start": 39,
"end": 40,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": " ",
"raw": " "
}
],
"content": null,
"isSelfClosing": false
},
{
"type": "Element",
"span": {
"start": 1,
"end": 69,
"ctxt": 0
},
"tagName": "table",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 33,
2022-06-04 12:33:25 +03:00
"end": 34,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": " ",
"raw": " "
},
{
"type": "Element",
"span": {
"start": 0,
2022-06-07 17:33:06 +03:00
"end": 0,
"ctxt": 0
},
"tagName": "tbody",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 40,
"end": 60,
"ctxt": 0
},
"tagName": "tr",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 44,
"end": 54,
"ctxt": 0
},
"tagName": "td",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 48,
"end": 49,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": " ",
"raw": " "
}
],
"content": null,
"isSelfClosing": false
},
{
"type": "Text",
"span": {
"start": 54,
2022-06-04 12:33:25 +03:00
"end": 55,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": " ",
"raw": " "
}
],
"content": null,
"isSelfClosing": false
},
{
"type": "Text",
"span": {
"start": 60,
2022-06-04 12:33:25 +03:00
"end": 61,
"ctxt": 0
},
2022-07-09 07:19:14 +03:00
"data": " ",
"raw": " "
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
]
}