clean-css
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -0,1 +1,6 @@ | ||
0.2.6 / 2011-11-27 | ||
================== | ||
* Fixed expanding + signs in calc() when mixed up with adjacent (+) selector. | ||
0.2.5 / 2011-11-27 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -118,3 +118,3 @@ var sys = require('sys'); | ||
// Get the special comments, content content, and spaces inside calc back | ||
replace(/calc\((.+)\)([;\}\w])/, function(match) { | ||
replace(/calc\([^\}]+\}/g, function(match) { | ||
return match.replace(/\+/g, ' + '); | ||
@@ -121,0 +121,0 @@ }); |
@@ -11,3 +11,3 @@ { | ||
}, | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"main": "index.js", | ||
@@ -14,0 +14,0 @@ "bin": { |
@@ -134,2 +134,6 @@ var vows = require('vows'), | ||
'label~*+span' | ||
], | ||
'not expand + in selectors mixed with calc methods': [ | ||
'div{width:calc(50% + 3em)}div + div{width:100%}div:hover{width:calc(50% + 4em)}* > div {border:1px solid #f0f}', | ||
'div{width:calc(50% + 3em)}div+div{width:100%}div:hover{width:calc(50% + 4em)}*>div{border:1px solid #f0f}' | ||
] | ||
@@ -136,0 +140,0 @@ }), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
65109
1678
0