Currently, the parse tree doesn't include full details for attribute selectors. For example, [att*=val] is parsed into:
{"type":"selectors","nodes":[
{
"type":"selector",
"nodes":[
{
"type":"attribute",
"content":"att*=val"
}
]
}
]}
It would be better if the "content" was further parsed, so we could get something like:
{"type":"selectors","nodes":[
{
"type":"selector",
"nodes":[
{
"type":"attribute",
"name":"att",
"operator":"*=",
"content":"val"
}
]
}
]}
Currently, the parse tree doesn't include full details for attribute selectors. For example,
[att*=val]is parsed into:{"type":"selectors","nodes":[ { "type":"selector", "nodes":[ { "type":"attribute", "content":"att*=val" } ] } ]}It would be better if the "content" was further parsed, so we could get something like:
{"type":"selectors","nodes":[ { "type":"selector", "nodes":[ { "type":"attribute", "name":"att", "operator":"*=", "content":"val" } ] } ]}