Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"not" notation when using @support API #662

Closed
SelfishLucho opened this issue Dec 10, 2018 · 12 comments · Fixed by #708
Closed

"not" notation when using @support API #662

SelfishLucho opened this issue Dec 10, 2018 · 12 comments · Fixed by #708

Comments

@SelfishLucho
Copy link

Hi! I tried to find documentation or some sort of report issue but was not able to, If someone could pin point on where I should look to find my issue. I know that i can work around this but still would like to know how cssnano categories this.

Im trying to use the "not" notation when using @support API, however doesn't seem to trigger properly when using cssnano. Is there an option possibly I'm missing here that I should use or something needed to take in consideration when running nano?

Here is a codepen on the css I'm trying to run

@alexander-akait
Copy link
Member

@SelfishLucho can you provide examples?

@SelfishLucho
Copy link
Author

@evilebottnawi the codepen :), or do you want me to update it here?

@alexander-akait
Copy link
Member

@SelfishLucho what is broken? @support cannot be nested

@SelfishLucho
Copy link
Author

SelfishLucho commented Dec 10, 2018

@evilebottnawi When using @support not (style), "not" notation is not being taken in consideration by cssnano

@SelfishLucho
Copy link
Author

@evilebottnawi Ok I try to use it without nesting it

@alexander-akait
Copy link
Member

@SelfishLucho can't reproducible 😕 here link on playground https://cssnano.co/playground/

@SelfishLucho
Copy link
Author

@evilebottnawi Seems like it's actually including the "not" notation, but I will try without nesting that might be causing my issue. Is there a way find what compiling options the playground is using?

@alexander-akait
Copy link
Member

alexander-akait commented Dec 10, 2018

@SelfishLucho no options, safe mode

@SelfishLucho
Copy link
Author

@evilebottnawi Thanks for quick answer, I'll update with a more detailed question on my issue

@alexander-akait
Copy link
Member

/cc @SelfishLucho friendly ping, can you provide example?

@SelfishLucho
Copy link
Author

SelfishLucho commented Jan 22, 2019

@evilebottnawi my bad, let me provide you one at latest this week with transpiled result of above example code

@alexander-akait
Copy link
Member

alexander-akait commented Jan 31, 2019

Tests added for not notation #708 and all work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants