-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Let's say we have a selector used to select an element in HTML with the class name "10w"
.\31 0w
This is valid selector according to https://jigsaw.w3.org/css-validator/#validate_by_input (enter .\31 0w {}
)
But when we parse it we get the following result
{
"type": "selectors",
"nodes": [
{
"type": "selector",
"nodes": [
{
"type": "element",
"name": "31"
},
{
"type": "spacing",
"value": " "
},
{
"type": "invalid",
"value": "0"
},
{
"type": "element",
"name": "w"
}
]
}
]
}
While expected result is
{
"type": "selectors",
"nodes": [
{
"type": "selector",
"nodes": [
{
"type": "class",
"name": "10w"
}
]
}
]
}
Metadata
Metadata
Assignees
Labels
No labels