You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi again, continuous thanks for providing this excellent library! Long time since I last found a bug, but here's a new one, hoping it will be easy to fix. :)
This broken rule repeats badly, taking up more and more space the larger the file. It made the original css file about 3 times larger than before clean-css (before I pruned it for debugging and presenting here).
Expected output CSS
Haven't reviewed this with 100% certainty; the main thing is just to not have the incorrect !important!important.. repetition. But it also seems that there is a missing important on the list-style property.
The text was updated successfully, but these errors were encountered:
pocketjoso
changed the title
"merge components into shorthand properties" causes invalid repetition of !import
"merge components into shorthand properties" (level 2) causes invalid repetition of !import
Jun 2, 2018
Hi again, continuous thanks for providing this excellent library! Long time since I last found a bug, but here's a new one, hoping it will be easy to fix. :)
Environment
npm ls clean-css
:[email protected]
. Also reproduced via online demo (https://jakubpawlowicz.github.io/clean-css/)node -v
:10.0.0 (also online demo)
MacOS (also online demo)
Configuration options
I run with
level: 2
, but I broke it down more specifically to themerge components into shorthand properties
being responsible, via the online demo.Input CSS
Actual output CSS
This broken rule repeats badly, taking up more and more space the larger the file. It made the original css file about 3 times larger than before clean-css (before I pruned it for debugging and presenting here).
Expected output CSS
Haven't reviewed this with 100% certainty; the main thing is just to not have the incorrect
!important!important
.. repetition. But it also seems that there is a missingimportant
on thelist-style
property.The text was updated successfully, but these errors were encountered: