Disable buggy color-compression in built-in Rainpress CSS minification. Fixes #576
This commit is contained in:
parent
1c32c5fd74
commit
1998668a87
|
@ -1,6 +1,7 @@
|
||||||
Master
|
Master
|
||||||
===
|
===
|
||||||
|
|
||||||
|
* Fix buggy color renaming in built-in CSS minifier. #576
|
||||||
* Fix Sass/Scss filter in Slim templates
|
* Fix Sass/Scss filter in Slim templates
|
||||||
* Added SMACSS template
|
* Added SMACSS template
|
||||||
* Give file metadata (such as frontmatter) precedence over path meta. #552
|
* Give file metadata (such as frontmatter) precedence over path meta. #552
|
||||||
|
|
|
@ -23,6 +23,8 @@ Feature: Minify CSS
|
||||||
And I should see "only screen and (device-width"
|
And I should see "only screen and (device-width"
|
||||||
When I go to "/more-css/site.css"
|
When I go to "/more-css/site.css"
|
||||||
Then I should see "1" lines
|
Then I should see "1" lines
|
||||||
|
When I go to "/stylesheets/report.css"
|
||||||
|
Then I should see "p{border:1px solid #ff6600}"
|
||||||
|
|
||||||
Scenario: Rendering external css with passthrough compressor
|
Scenario: Rendering external css with passthrough compressor
|
||||||
Given a fixture app "passthrough-app"
|
Given a fixture app "passthrough-app"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
p{border: 1px solid #ff6600;}
|
|
@ -25,7 +25,7 @@ class Rainpress
|
||||||
:comments => true,
|
:comments => true,
|
||||||
:newlines => true,
|
:newlines => true,
|
||||||
:spaces => true,
|
:spaces => true,
|
||||||
:colors => true,
|
:colors => false,
|
||||||
:misc => true
|
:misc => true
|
||||||
}
|
}
|
||||||
@opts.merge! opts
|
@opts.merge! opts
|
||||||
|
|
Loading…
Reference in a new issue