We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
4.2.1
10.12
var CleanCSS = require('clean-css'); new CleanCSS({ compatibility: 'ie9', level: 2, format: { aroundSelectorRelation: false, }, inline: false, returnPromise: true, sourceMap: this._options.sourceMap, });
:host-context(selector selector){ color: red; }
:host-context(selectorselector){color:red}
:host-context(selector selector){color:red}
The text was updated successfully, but these errors were encountered:
Problem is in level 1 tidySelectors option
tidySelectors
Here is code that skips this space isWhitespace = true roundBracketLevel = 1 isQuoted = false https://github.com/jakubpawlowicz/clean-css/blob/dc728a8167b7b6f62906115c560be2f5b530f9f6/lib/optimizer/level-1/tidy-rules.js#L114-L115
isWhitespace = true
roundBracketLevel = 1
isQuoted = false
Sorry, something went wrong.
e651f24
Fixes #996 - outstanding issue with spaces removed inside pseudoclasses.
5d7d6aa
I thought we fixed it with #1062 but this case was different.
64d8c27
No branches or pull requests
Precheck
Environment
4.2.1
:10.12
:Configuration options
Input CSS
Actual output CSS
Expected output CSS
The text was updated successfully, but these errors were encountered: