Arguments order differs from the standard order being passed to

This commit is contained in:
Jeff Felchner 2011-11-17 00:04:34 -06:00 committed by Jeff Felchner
parent 3bc39aae2b
commit e6d3fcd3be

View File

@ -5,11 +5,11 @@
// the implementations are identical except for the property // the implementations are identical except for the property
// prefix. // prefix.
@mixin experimental($property, $value, @mixin experimental($property, $value,
$webkit : $experimental-support-for-webkit,
$khtml : $experimental-support-for-khtml,
$moz : $experimental-support-for-mozilla, $moz : $experimental-support-for-mozilla,
$ms : $experimental-support-for-microsoft, $webkit : $experimental-support-for-webkit,
$o : $experimental-support-for-opera, $o : $experimental-support-for-opera,
$ms : $experimental-support-for-microsoft,
$khtml : $experimental-support-for-khtml,
$official : true $official : true
) { ) {
@if $webkit and $experimental-support-for-webkit { -webkit-#{$property} : $value; } @if $webkit and $experimental-support-for-webkit { -webkit-#{$property} : $value; }
@ -22,11 +22,11 @@
// Same as experimental(), but for cases when the property is the same and the value is vendorized // Same as experimental(), but for cases when the property is the same and the value is vendorized
@mixin experimental-value($property, $value, @mixin experimental-value($property, $value,
$webkit : $experimental-support-for-webkit,
$khtml : $experimental-support-for-khtml,
$moz : $experimental-support-for-mozilla, $moz : $experimental-support-for-mozilla,
$ms : $experimental-support-for-microsoft, $webkit : $experimental-support-for-webkit,
$o : $experimental-support-for-opera, $o : $experimental-support-for-opera,
$ms : $experimental-support-for-microsoft,
$khtml : $experimental-support-for-khtml,
$official : true $official : true
) { ) {
@if $webkit and $experimental-support-for-webkit { #{$property} : -webkit-#{$value}; } @if $webkit and $experimental-support-for-webkit { #{$property} : -webkit-#{$value}; }