swc/crates/swc_html_parser/tests/recovery/element/frameset-1/output.json
2022-05-21 19:34:02 +00:00

439 lines
12 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"type": "Document",
"span": {
"start": 1,
"end": 539,
"ctxt": 0
},
"mode": "no-quirks",
"children": [
{
"type": "DocumentType",
"span": {
"start": 1,
"end": 110,
"ctxt": 0
},
"name": "html",
"publicId": "-//W3C//DTD HTML 4.01 Frameset//EN",
"systemId": "http://www.w3.org/TR/html4/frameset.dtd"
},
{
"type": "Element",
"span": {
"start": 111,
"end": 539,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 118,
"end": 232,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 124,
"end": 129,
"ctxt": 0
},
"value": "\n "
},
{
"type": "Element",
"span": {
"start": 129,
"end": 196,
"ctxt": 0
},
"tagName": "meta",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 135,
"end": 160,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "http-equiv",
"value": "Content-Type"
},
{
"type": "Attribute",
"span": {
"start": 161,
"end": 195,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "content",
"value": "text/html; charset=utf-8"
}
],
"children": [],
"content": null
},
{
"type": "Text",
"span": {
"start": 196,
"end": 201,
"ctxt": 0
},
"value": "\n "
},
{
"type": "Element",
"span": {
"start": 201,
"end": 223,
"ctxt": 0
},
"tagName": "title",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 208,
"end": 223,
"ctxt": 0
},
"value": "Тег FRAMESET"
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 231,
"end": 232,
"ctxt": 0
},
"value": "\n"
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 239,
"end": 241,
"ctxt": 0
},
"value": "\n\n"
},
{
"type": "Element",
"span": {
"start": 241,
"end": 505,
"ctxt": 0
},
"tagName": "frameset",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 251,
"end": 262,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "rows",
"value": "80,*"
},
{
"type": "Attribute",
"span": {
"start": 263,
"end": 271,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "cols",
"value": "*"
}
],
"children": [
{
"type": "Text",
"span": {
"start": 272,
"end": 277,
"ctxt": 0
},
"value": "\n "
},
{
"type": "Element",
"span": {
"start": 277,
"end": 339,
"ctxt": 0
},
"tagName": "frame",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 284,
"end": 298,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "src",
"value": "top.html"
},
{
"type": "Attribute",
"span": {
"start": 299,
"end": 314,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "name",
"value": "topFrame"
},
{
"type": "Attribute",
"span": {
"start": 315,
"end": 329,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "scrolling",
"value": "no"
},
{
"type": "Attribute",
"span": {
"start": 330,
"end": 338,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "noresize",
"value": null
}
],
"children": [],
"content": null
},
{
"type": "Text",
"span": {
"start": 339,
"end": 344,
"ctxt": 0
},
"value": "\n "
},
{
"type": "Element",
"span": {
"start": 344,
"end": 493,
"ctxt": 0
},
"tagName": "frameset",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 354,
"end": 365,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "cols",
"value": "80,*"
}
],
"children": [
{
"type": "Text",
"span": {
"start": 366,
"end": 375,
"ctxt": 0
},
"value": "\n "
},
{
"type": "Element",
"span": {
"start": 375,
"end": 439,
"ctxt": 0
},
"tagName": "frame",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 382,
"end": 397,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "src",
"value": "left.html"
},
{
"type": "Attribute",
"span": {
"start": 398,
"end": 414,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "name",
"value": "leftFrame"
},
{
"type": "Attribute",
"span": {
"start": 415,
"end": 429,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "scrolling",
"value": "no"
},
{
"type": "Attribute",
"span": {
"start": 430,
"end": 438,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "noresize",
"value": null
}
],
"children": [],
"content": null
},
{
"type": "Text",
"span": {
"start": 439,
"end": 448,
"ctxt": 0
},
"value": "\n "
},
{
"type": "Element",
"span": {
"start": 448,
"end": 488,
"ctxt": 0
},
"tagName": "frame",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 455,
"end": 470,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "src",
"value": "main.html"
},
{
"type": "Attribute",
"span": {
"start": 471,
"end": 487,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "name",
"value": "mainFrame"
}
],
"children": [],
"content": null
},
{
"type": "Text",
"span": {
"start": 488,
"end": 493,
"ctxt": 0
},
"value": "\n "
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 504,
"end": 505,
"ctxt": 0
},
"value": "\n"
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 516,
"end": 539,
"ctxt": 0
},
"value": "\n\n\n\n"
}
],
"content": null
}
]
}