sass / ruby-sass

The original, now deprecated Ruby implementation of Sass
https://sass-lang.com
MIT License
183 stars 38 forks source link

Certain CSS level 4 selectors are incorrectly compressed #57

Open nex3 opened 6 years ago

nex3 commented 6 years ago

From https://github.com/sass/sass/issues/2497:

I have a CSS level 4 selector in SCSS:

.someclass:nth-child(1 of .due-today) { 
/* ... */
}

When compressing the CSS via Sass, the result is something like…

.someclass:nth-child(1of.due - today) {
/* ... */
}

…which obviously isn't working.