mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
267 lines
7.3 KiB
JSON
267 lines
7.3 KiB
JSON
{
|
|
"type": "Document",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 123,
|
|
"ctxt": 0
|
|
},
|
|
"mode": "quirks",
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 119,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "html",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 12,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "head",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [],
|
|
"content": null
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 6,
|
|
"end": 119,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "body",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 12,
|
|
"end": 13,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 13,
|
|
"end": 47,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "p",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 47,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "font",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 0,
|
|
"ctxt": 0
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "size",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 31,
|
|
"end": 47,
|
|
"ctxt": 0
|
|
},
|
|
"value": "First paragraph."
|
|
}
|
|
],
|
|
"content": null
|
|
}
|
|
],
|
|
"content": null
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 72,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "font",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [
|
|
{
|
|
"type": "Attribute",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 0,
|
|
"ctxt": 0
|
|
},
|
|
"namespace": null,
|
|
"prefix": null,
|
|
"name": "size",
|
|
"value": "7"
|
|
}
|
|
],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 52,
|
|
"end": 72,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "p",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 55,
|
|
"end": 72,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Second paragraph."
|
|
}
|
|
],
|
|
"content": null
|
|
}
|
|
],
|
|
"content": null
|
|
},
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 83,
|
|
"end": 84,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n"
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 84,
|
|
"end": 87,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "b",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [],
|
|
"content": null
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 87,
|
|
"end": 119,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "p",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 84,
|
|
"end": 108,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "b",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 108,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "i",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 93,
|
|
"end": 108,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Bold and Italic"
|
|
}
|
|
],
|
|
"content": null
|
|
}
|
|
],
|
|
"content": null
|
|
},
|
|
{
|
|
"type": "Element",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 119,
|
|
"ctxt": 0
|
|
},
|
|
"tagName": "i",
|
|
"namespace": "http://www.w3.org/1999/xhtml",
|
|
"attributes": [],
|
|
"children": [
|
|
{
|
|
"type": "Text",
|
|
"span": {
|
|
"start": 112,
|
|
"end": 119,
|
|
"ctxt": 0
|
|
},
|
|
"value": " Italic"
|
|
}
|
|
],
|
|
"content": null
|
|
}
|
|
],
|
|
"content": null
|
|
}
|
|
],
|
|
"content": null
|
|
}
|
|
],
|
|
"content": null
|
|
}
|
|
]
|
|
}
|