2 changed files with
44 additions and
3 deletions
|
|
|
|
@ -1 +1,2 @@
|
|
|
|
|
<div class=foo></div>
|
|
|
|
|
<a href=/>home</a>
|
|
|
|
|
@ -2,12 +2,12 @@
|
|
|
|
|
"html": {
|
|
|
|
|
"type": "Fragment",
|
|
|
|
|
"start": 0,
|
|
|
|
|
"end": 21,
|
|
|
|
|
"end": 40,
|
|
|
|
|
"children": [
|
|
|
|
|
{
|
|
|
|
|
"type": "Element",
|
|
|
|
|
"start": 0,
|
|
|
|
|
"end": 21,
|
|
|
|
|
"end": 40,
|
|
|
|
|
"name": "div",
|
|
|
|
|
"attributes": [
|
|
|
|
|
{
|
|
|
|
|
@ -27,7 +27,47 @@
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"children": []
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "Text",
|
|
|
|
|
"start": 21,
|
|
|
|
|
"end": 22,
|
|
|
|
|
"raw": "\n",
|
|
|
|
|
"data": "\n"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "Element",
|
|
|
|
|
"start": 22,
|
|
|
|
|
"end": 40,
|
|
|
|
|
"name": "a",
|
|
|
|
|
"attributes": [
|
|
|
|
|
{
|
|
|
|
|
"type": "Attribute",
|
|
|
|
|
"start": 25,
|
|
|
|
|
"end": 31,
|
|
|
|
|
"name": "href",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"start": 30,
|
|
|
|
|
"end": 31,
|
|
|
|
|
"type": "Text",
|
|
|
|
|
"raw": "/",
|
|
|
|
|
"data": "/"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"children": [
|
|
|
|
|
{
|
|
|
|
|
"type": "Text",
|
|
|
|
|
"start": 32,
|
|
|
|
|
"end": 36,
|
|
|
|
|
"raw": "home",
|
|
|
|
|
"data": "home"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|