autoprefixer
Advanced tools
Comparing version 0.6.20130730 to 0.6.20130731
@@ -62,2 +62,5 @@ (function() { | ||
}, | ||
"border-image": { | ||
browsers: ["ff 4", "ff 5", "ff 6", "ff 7", "ff 8", "ff 9", "ff 10", "ff 11", "ff 12", "ff 13", "ff 14", "ff 3.5", "ff 3.6", "chrome 4", "chrome 5", "chrome 6", "chrome 7", "chrome 8", "chrome 9", "chrome 10", "chrome 11", "chrome 12", "chrome 13", "chrome 14", "chrome 15", "safari 4", "safari 5", "safari 3.1", "safari 3.2", "safari 5.1", "opera 11", "opera 12", "opera 11.1", "opera 11.5", "opera 11.6", "opera 12.1", "ios 3.2", "ios 4", "ios 4.1", "ios 4.2", "ios 4.3", "ios 5", "ios 5.1", "android 3", "android 4", "android 2.1", "android 2.2", "android 2.3", "android 4.1", "android 4.2", "bb 7"] | ||
}, | ||
"border-radius": { | ||
@@ -175,3 +178,3 @@ browsers: ["ff 2", "ff 3", "ff 3.5", "ff 3.6", "chrome 4", "safari 4", "safari 3.1", "safari 3.2", "ios 3.2", "android 2.1"], | ||
"linear-gradient": { | ||
props: ["background", "background-image"], | ||
props: ["background", "background-image", "border-image"], | ||
browsers: ["ff 4", "ff 5", "ff 6", "ff 7", "ff 8", "ff 9", "ff 10", "ff 11", "ff 12", "ff 13", "ff 14", "ff 15", "ff 3.6", "chrome 4", "chrome 5", "chrome 6", "chrome 7", "chrome 8", "chrome 9", "chrome 10", "chrome 11", "chrome 12", "chrome 13", "chrome 14", "chrome 15", "chrome 16", "chrome 17", "chrome 18", "chrome 19", "chrome 20", "chrome 21", "chrome 22", "chrome 23", "chrome 24", "chrome 25", "safari 4", "safari 5", "safari 6", "safari 5.1", "opera 12", "opera 11.1", "opera 11.5", "opera 11.6", "ios 3.2", "ios 4", "ios 4.1", "ios 4.2", "ios 4.3", "ios 5", "ios 5.1", "ios 6", "ios 6.1", "ios 7", "android 3", "android 4", "android 2.1", "android 2.2", "android 2.3", "android 4.1", "android 4.2", "bb 7", "bb 10"] | ||
@@ -191,11 +194,11 @@ }, | ||
"radial-gradient": { | ||
props: ["background", "background-image"], | ||
props: ["background", "background-image", "border-image"], | ||
browsers: ["ff 4", "ff 5", "ff 6", "ff 7", "ff 8", "ff 9", "ff 10", "ff 11", "ff 12", "ff 13", "ff 14", "ff 15", "ff 3.6", "chrome 4", "chrome 5", "chrome 6", "chrome 7", "chrome 8", "chrome 9", "chrome 10", "chrome 11", "chrome 12", "chrome 13", "chrome 14", "chrome 15", "chrome 16", "chrome 17", "chrome 18", "chrome 19", "chrome 20", "chrome 21", "chrome 22", "chrome 23", "chrome 24", "chrome 25", "safari 4", "safari 5", "safari 6", "safari 5.1", "opera 12", "opera 11.1", "opera 11.5", "opera 11.6", "ios 3.2", "ios 4", "ios 4.1", "ios 4.2", "ios 4.3", "ios 5", "ios 5.1", "ios 6", "ios 6.1", "ios 7", "android 3", "android 4", "android 2.1", "android 2.2", "android 2.3", "android 4.1", "android 4.2", "bb 7", "bb 10"] | ||
}, | ||
"repeating-linear-gradient": { | ||
props: ["background", "background-image"], | ||
props: ["background", "background-image", "border-image"], | ||
browsers: ["ff 4", "ff 5", "ff 6", "ff 7", "ff 8", "ff 9", "ff 10", "ff 11", "ff 12", "ff 13", "ff 14", "ff 15", "ff 3.6", "chrome 4", "chrome 5", "chrome 6", "chrome 7", "chrome 8", "chrome 9", "chrome 10", "chrome 11", "chrome 12", "chrome 13", "chrome 14", "chrome 15", "chrome 16", "chrome 17", "chrome 18", "chrome 19", "chrome 20", "chrome 21", "chrome 22", "chrome 23", "chrome 24", "chrome 25", "safari 4", "safari 5", "safari 6", "safari 5.1", "opera 12", "opera 11.1", "opera 11.5", "opera 11.6", "ios 3.2", "ios 4", "ios 4.1", "ios 4.2", "ios 4.3", "ios 5", "ios 5.1", "ios 6", "ios 6.1", "ios 7", "android 3", "android 4", "android 2.1", "android 2.2", "android 2.3", "android 4.1", "android 4.2", "bb 7", "bb 10"] | ||
}, | ||
"repeating-radial-gradient": { | ||
props: ["background", "background-image"], | ||
props: ["background", "background-image", "border-image"], | ||
browsers: ["ff 4", "ff 5", "ff 6", "ff 7", "ff 8", "ff 9", "ff 10", "ff 11", "ff 12", "ff 13", "ff 14", "ff 15", "ff 3.6", "chrome 4", "chrome 5", "chrome 6", "chrome 7", "chrome 8", "chrome 9", "chrome 10", "chrome 11", "chrome 12", "chrome 13", "chrome 14", "chrome 15", "chrome 16", "chrome 17", "chrome 18", "chrome 19", "chrome 20", "chrome 21", "chrome 22", "chrome 23", "chrome 24", "chrome 25", "safari 4", "safari 5", "safari 6", "safari 5.1", "opera 12", "opera 11.1", "opera 11.5", "opera 11.6", "ios 3.2", "ios 4", "ios 4.1", "ios 4.2", "ios 4.3", "ios 5", "ios 5.1", "ios 6", "ios 6.1", "ios 7", "android 3", "android 4", "android 2.1", "android 2.2", "android 2.3", "android 4.1", "android 4.2", "bb 7", "bb 10"] | ||
@@ -202,0 +205,0 @@ }, |
@@ -61,7 +61,10 @@ (function() { | ||
Declaration.prototype.prefixProp = function(prefix) { | ||
Declaration.prototype.prefixProp = function(prefix, value) { | ||
if (value == null) { | ||
value = this.value; | ||
} | ||
if (this.rule.contain(prefix + this.unprefixed)) { | ||
return; | ||
} | ||
return this.insertBefore(prefix + this.unprefixed, this.value); | ||
return this.insertBefore(prefix + this.unprefixed, value); | ||
}; | ||
@@ -97,3 +100,3 @@ | ||
Declaration.prototype.saveValues = function() { | ||
var prefix, prefixed, value, _ref, _results; | ||
var prefix, value, _ref, _results; | ||
_ref = this.valuesCache; | ||
@@ -106,6 +109,8 @@ _results = []; | ||
} | ||
if (prefixed = this.rule.byProp(prefix + this.unprefixed)) { | ||
_results.push(prefixed.setValue(value)); | ||
if (prefix === this.prefix) { | ||
_results.push(this.setValue(value)); | ||
} else if (!this.rule.byProp(prefix + this.unprefixed)) { | ||
_results.push(this.insertBefore(this.prop, value)); | ||
} else { | ||
_results.push(this.insertBefore(this.prop, value)); | ||
_results.push(void 0); | ||
} | ||
@@ -112,0 +117,0 @@ } |
@@ -28,2 +28,4 @@ (function() { | ||
Declaration.register(require('./hacks/border-image')); | ||
Declaration.register(require('./hacks/display-flex')); | ||
@@ -30,0 +32,0 @@ |
{ | ||
"name": "autoprefixer", | ||
"version": "0.6.20130730", | ||
"version": "0.6.20130731", | ||
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website", | ||
@@ -5,0 +5,0 @@ "keywords": ["css", "prefix", "rework"], |
@@ -90,4 +90,4 @@ # Autoprefixer | ||
Instead of -prefix-free Autoprefixer compile CSS once on deploy, | ||
so it is better for client performance. | ||
Unlike -prefix-free Autoprefixer compiles CSS once on deploy and doesn’t hit | ||
client performance. | ||
@@ -94,0 +94,0 @@ ### Rewrite syntax |
Sorry, the diff of this file is not supported yet
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
134781
41
2182