style-directives: more parser tests

pull/5923/head
pmurray73 6 years ago committed by Tan Li Hau
parent 5a8a473c5d
commit e5a6e4e305

@ -0,0 +1,31 @@
{
"html": {
"start": 0,
"end": 23,
"type": "Fragment",
"children": [
{
"start": 0,
"end": 23,
"type": "Element",
"name": "div",
"attributes": [
{
"start": 5,
"end": 16,
"type": "Style",
"name": "color",
"modifiers": [],
"expression": {
"start": 11,
"end": 16,
"name": "color",
"type": "Identifier"
}
}
],
"children": []
}
]
}
}

@ -0,0 +1,32 @@
{
"html": {
"start": 0,
"end": 29,
"type": "Fragment",
"children": [
{
"start": 0,
"end": 29,
"type": "Element",
"name": "div",
"attributes": [
{
"start": 5,
"end": 22,
"type": "Style",
"name": "color",
"modifiers": [],
"expression": {
"end": 22,
"name": "color",
"start": 11,
"type": "Identifier"
},
"text": "red"
}
],
"children": []
}
]
}
}
Loading…
Cancel
Save