frameworks/compass/stylesheets/compass/css3/_box-sizing.scss in compass-0.13.alpha.0 vs frameworks/compass/stylesheets/compass/css3/_box-sizing.scss in compass-0.13.alpha.2
- old
+ new
@@ -1,13 +1,18 @@
@import "shared";
+// ----------------------------------------------------------------------------
+// @private css3-feature-support variables must always include a list of five boolean values
+// representing in order: -moz, -webkit, -o, -ms, -khtml
+$box-sizing-support: -moz, -webkit, not -o, not -ms, not -khtml;
+
+// ----------------------------------------------------------------------------
+// Mixin
+
// Change the box model for Mozilla, Webkit, IE8 and the future
//
-// @param $bs
-// [ content-box | border-box ]
-
-@mixin box-sizing($bs) {
- $bs: unquote($bs);
- @include experimental(box-sizing, $bs,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
+// @param $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...);
}