kriszyp/xstyle

[BUG] parser is not working properly

Closed this issue · 2 comments

Hello,
try to build this css:

input[type=radio] .classA,
input[type=checkbox] .classB {
	width: 190px;
}

and it produces:
input[type=radio] .classA, input[type=checkbox].classB{width:190px;}

Note the lack of space after input[type=checkbox], so it produces wrong css..

adros commented

Same problems occurs for :not() pseudo-selector

div:not(.classC) .classA,
div:not(.classC) .classB {
	width: 190px;
}

Produces:

div:not(.classC) .classA, div:not(.classC).classB{width:190px;}

meet the same problem