wallet-core/node_modules/htmlparser2/test/Stream/01-basic.json
2017-05-03 15:35:00 +02:00

83 lines
1.1 KiB
JSON

{
"name": "Basic html",
"options": {},
"file": "Basic.html",
"expected": [
{
"event": "processinginstruction",
"data": [
"!doctype",
"!DOCTYPE html"
]
},
{
"event": "opentagname",
"data": [
"html"
]
},
{
"event": "opentag",
"data": [
"html",
{}
]
},
{
"event": "opentagname",
"data": [
"title"
]
},
{
"event": "opentag",
"data": [
"title",
{}
]
},
{
"event": "text",
"data": [
"The Title"
]
},
{
"event": "closetag",
"data": [
"title"
]
},
{
"event": "opentagname",
"data": [
"body"
]
},
{
"event": "opentag",
"data": [
"body",
{}
]
},
{
"event": "text",
"data": [
"Hello world"
]
},
{
"event": "closetag",
"data": [
"body"
]
},
{
"event": "closetag",
"data": [
"html"
]
}
]
}