Browse Source

Fix hardcoded $experimental-support-for-pie variable

The `$experimental-support-for-pie` could not be changed because
we were inadvertently always resetting it. This maintains the default
initial value but will allow it to be changed in userland.

Fixes #52
Closes #81
master
xzyfer 9 years ago
parent
commit
88407a1660
  1. 6
      lib/compass/css3/_pie.scss

6
lib/compass/css3/_pie.scss

@ -1,4 +1,4 @@
$experimental-support-for-pie: true; $experimental-support-for-pie: true !default;
// It is recommended that you use Sass's @extend directive to apply the behavior // It is recommended that you use Sass's @extend directive to apply the behavior
// to your PIE elements. To assist you, Compass provides this variable. // to your PIE elements. To assist you, Compass provides this variable.
@ -38,7 +38,7 @@ $pie-behavior: stylesheet-url("PIE.htc") !default;
// relative to the stylesheet. It considers them relative // relative to the stylesheet. It considers them relative
// to the webpage. As a result, you cannot reliably use // to the webpage. As a result, you cannot reliably use
// compass's relative_assets with PIE. // compass's relative_assets with PIE.
// //
// * `$approach` - one of: relative, z-index, or none // * `$approach` - one of: relative, z-index, or none
// * `$z-index` - when using the z-index approach, this // * `$z-index` - when using the z-index approach, this
// is the z-index that is applied. // is the z-index that is applied.
@ -70,4 +70,4 @@ $pie-behavior: stylesheet-url("PIE.htc") !default;
// So that cascading styles will work correctly on the PIE element. // So that cascading styles will work correctly on the PIE element.
@mixin pie-watch-ancestors($n) { @mixin pie-watch-ancestors($n) {
-pie-watch-ancestors: $n; -pie-watch-ancestors: $n;
} }

Loading…
Cancel
Save