frameworks/compass/stylesheets/compass/css3/_box-sizing.scss in compass-0.13.alpha.4 vs frameworks/compass/stylesheets/compass/css3/_box-sizing.scss in compass-0.13.alpha.5
- old
+ new
@@ -1,17 +1,15 @@
// Box Sizing
-@import "shared";
+@import "compass/support";
-// @private css3-feature-support variables must always include a list of five boolean values
-// representing in order: -moz, -webkit, -ms, -o, -khtml
-$box-sizing-support: -moz, -webkit, not -ms, not -o, not -khtml;
+// The prefixed support threshold for box-sizing.
+// Defaults to the $graceful-usage-threshold.
+$box-sizing-support-threshold: $critical-usage-threshold !default;
-
// Change the box model for Mozilla, Webkit, IE8 and the future
//
-// @param $box-model
-// [ content-box | border-box | padding-box ]
+// $box-model: [ content-box | border-box | padding-box ]
@mixin box-sizing($box-model) {
$box-model: unquote($box-model);
- @include experimental(box-sizing, $box-model, $box-sizing-support...);
+ @include prefixed-properties(css3-boxsizing, $box-sizing-support-threshold, (box-sizing: $box-model));
}