compass 0.13.alpha.2 → 0.13.alpha.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/README.markdown +1 -1
  2. data/Rakefile +5 -9
  3. data/VERSION.yml +1 -1
  4. data/features/command_line.feature +3 -23
  5. data/frameworks/compass/stylesheets/compass/_support.scss +2 -4
  6. data/frameworks/compass/stylesheets/compass/css3/_animation.scss +3 -10
  7. data/frameworks/compass/stylesheets/compass/css3/_appearance.scss +4 -5
  8. data/frameworks/compass/stylesheets/compass/css3/_background-clip.scss +4 -7
  9. data/frameworks/compass/stylesheets/compass/css3/_background-origin.scss +3 -8
  10. data/frameworks/compass/stylesheets/compass/css3/_background-size.scss +4 -7
  11. data/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +4 -7
  12. data/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +10 -18
  13. data/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss +4 -5
  14. data/frameworks/compass/stylesheets/compass/css3/_box.scss +13 -16
  15. data/frameworks/compass/stylesheets/compass/css3/_columns.scss +7 -8
  16. data/frameworks/compass/stylesheets/compass/css3/_filter.scss +4 -5
  17. data/frameworks/compass/stylesheets/compass/css3/_hyphenation.scss +13 -22
  18. data/frameworks/compass/stylesheets/compass/css3/_images.scss +39 -48
  19. data/frameworks/compass/stylesheets/compass/css3/_regions.scss +12 -8
  20. data/frameworks/compass/stylesheets/compass/css3/_shared.scss +3 -3
  21. data/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +21 -26
  22. data/frameworks/compass/stylesheets/compass/css3/_transform-legacy.scss +3 -3
  23. data/frameworks/compass/stylesheets/compass/css3/_transform.scss +8 -8
  24. data/frameworks/compass/stylesheets/compass/css3/_transition.scss +3 -3
  25. data/frameworks/compass/stylesheets/compass/css3/_user-interface.scss +4 -6
  26. data/lib/compass/commands.rb +1 -1
  27. data/lib/compass/commands/update_project.rb +0 -1
  28. data/lib/compass/configuration/data.rb +1 -1
  29. data/lib/compass/exec/project_options_parser.rb +13 -1
  30. data/lib/compass/sass_extensions/functions/cross_browser_support.rb +1 -1
  31. data/lib/compass/sass_extensions/functions/gradient_support.rb +68 -28
  32. data/lib/compass/sass_extensions/functions/sprites.rb +10 -14
  33. data/lib/compass/sass_extensions/functions/urls.rb +8 -4
  34. data/lib/compass/sass_extensions/functions/utility.rb +10 -0
  35. data/lib/compass/sass_extensions/sprites/engines.rb +3 -3
  36. data/lib/compass/sprite_importer/content.erb +2 -1
  37. data/lib/compass/watcher/project_watcher.rb +5 -2
  38. data/test/fixtures/stylesheets/compass/css/gradients.css +40 -39
  39. data/test/fixtures/stylesheets/compass/css/grid_background.css +7 -14
  40. data/test/fixtures/stylesheets/compass/css/hyphenation.css +4 -2
  41. data/test/fixtures/stylesheets/compass/css/pie.css +0 -1
  42. data/test/fixtures/stylesheets/compass/css/regions.css +4 -2
  43. data/test/fixtures/stylesheets/compass/css/sprites.css +2 -1
  44. data/test/fixtures/stylesheets/compass/css/text_shadow.css +6 -6
  45. data/test/fixtures/stylesheets/compass/css/vertical_rhythm.css +3 -6
  46. data/test/fixtures/stylesheets/compass/sass/gradients.sass +22 -0
  47. data/test/fixtures/stylesheets/envtest/tmp/env.css +4 -4
  48. data/test/helpers/diff.rb +1 -1
  49. data/test/integrations/sprites_test.rb +82 -48
  50. data/test/test_helper.rb +0 -13
  51. data/test/units/configuration_test.rb +12 -0
  52. data/test/units/regressions_test.rb +8 -8
  53. data/test/units/sass_extenstions/gradients_test.rb +33 -0
  54. data/test/units/sprites/layout_test.rb +11 -2
  55. data/test/units/watcher/project_watcher_test.rb +8 -0
  56. metadata +30 -16
  57. data/lib/compass/commands/generate_grid_background.rb +0 -96
  58. data/lib/compass/grid_builder.rb +0 -102
  59. data/test/units/compass_png_test.rb +0 -46
@@ -1,12 +1,11 @@
1
+ // Filter
2
+
1
3
  @import "shared";
2
4
 
3
- // ----------------------------------------------------------------------------
4
5
  // @private css3-feature-support variables must always include a list of five boolean values
5
- // representing in order: -moz, -webkit, -o, -ms, -khtml
6
- $filter-support: -moz, -webkit, not -o, not -ms, not -khtml;
6
+ // representing in order: -moz, -webkit, -ms, -o, -khtml
7
+ $filter-support: -moz, -webkit, not -ms, not -o, not -khtml;
7
8
 
8
- // ----------------------------------------------------------------------------
9
- // Mixins
10
9
 
11
10
  // Provides cross-browser support for the upcoming (?) css3 filter property.
12
11
  //
@@ -1,9 +1,13 @@
1
+ // Mixins to support specific CSS Text Level 3 elements
2
+
1
3
  @import "shared";
2
4
 
3
- // Mixins to support specific CSS Text Level 3 elements
4
- //
5
- //
6
- //
5
+ // @private css3-feature-support variables must always include a list of five boolean values
6
+ // representing in order: -moz, -webkit, -ms, -o, -khtml
7
+ // - mozilla/webkit legacy support handled seperately below
8
+ $hyphens-support: -moz, -webkit, -ms, -o, not -khtml;
9
+
10
+
7
11
  // Mixin for word-break properties
8
12
  // http://www.w3.org/css3-text/#word-break
9
13
  // * legal values for $type : normal, keep-all, break-all
@@ -18,21 +22,10 @@
18
22
  // word-break: break-word;}
19
23
  //
20
24
  @mixin word-break($value: normal){
21
- @if $value == break-all {
22
- //Most browsers handle the break-all case the same...
23
- @include experimental(word-break, $value,
24
- not -moz, not -webkit, not -o, -ms, not -khtml, official
25
- );
26
- //Webkit handles break-all differently... as break-word
27
- @include experimental(word-break, break-word,
28
- not -moz, not -webkit, not -o, not -ms, not -khtml, official
29
- );
30
- }
31
- @else {
32
- @include experimental(word-break, $value,
33
- not -moz, not -webkit, not -o, -ms, not -khtml, official
34
- );
35
- }
25
+ word-break: $value;
26
+
27
+ //Webkit handles break-all differently... as break-word
28
+ @if $value == break-all { word-break: break-word; }
36
29
  }
37
30
 
38
31
  // Mixin for the hyphens property
@@ -50,9 +43,7 @@
50
43
  // hyphens: auto;}
51
44
  //
52
45
  @mixin hyphens($value: auto){
53
- @include experimental(hyphens, $value,
54
- -moz, -webkit, not -o, not -ms, not -khtml, official
55
- );
46
+ @include experimental(hyphens, $value, $hyphens-support);
56
47
  }
57
48
 
58
49
  // Mixin for x-browser hyphenation based on @auchenberg's post:
@@ -3,23 +3,11 @@
3
3
 
4
4
  // Background property support for vendor prefixing within values.
5
5
  @mixin background(
6
- $background-1,
7
- $background-2: false,
8
- $background-3: false,
9
- $background-4: false,
10
- $background-5: false,
11
- $background-6: false,
12
- $background-7: false,
13
- $background-8: false,
14
- $background-9: false,
15
- $background-10: false
6
+ $backgrounds...
16
7
  ) {
17
- $backgrounds: compact($background-1, $background-2, $background-3, $background-4, $background-5,
18
- $background-6, $background-7, $background-8, $background-9, $background-10);
19
8
  $mult-bgs: -compass-list-size($backgrounds) > 1;
20
9
  $add-pie-bg: prefixed(-pie, $backgrounds) or $mult-bgs;
21
10
  @if $experimental-support-for-svg and prefixed(-svg, $backgrounds) { background: -svg($backgrounds); }
22
- @if $support-for-original-webkit-gradients and prefixed(-owg, $backgrounds) { background: -owg($backgrounds); }
23
11
  @if $experimental-support-for-webkit and prefixed(-webkit, $backgrounds) { background: -webkit($backgrounds); }
24
12
  @if $experimental-support-for-mozilla and prefixed(-moz, $backgrounds) { background: -moz($backgrounds); }
25
13
  @if $experimental-support-for-opera and prefixed(-o, $backgrounds) { background: -o($backgrounds); }
@@ -28,45 +16,22 @@
28
16
  }
29
17
 
30
18
  @mixin background-with-css2-fallback(
31
- $background-1,
32
- $background-2: false,
33
- $background-3: false,
34
- $background-4: false,
35
- $background-5: false,
36
- $background-6: false,
37
- $background-7: false,
38
- $background-8: false,
39
- $background-9: false,
40
- $background-10: false
19
+ $backgrounds...
41
20
  ) {
42
- $backgrounds: compact($background-1, $background-2, $background-3, $background-4, $background-5,
43
- $background-6, $background-7, $background-8, $background-9, $background-10);
44
21
  $mult-bgs: -compass-list-size($backgrounds) > 1;
45
22
  $simple-background: if($mult-bgs or prefixed(-css2, $backgrounds), -css2(-compass-nth($backgrounds, last)), false);
46
23
  @if not blank($simple-background) { background: $simple-background; }
47
- @include background($background-1, $background-2, $background-3, $background-4, $background-5,
48
- $background-6, $background-7, $background-8, $background-9, $background-10);
24
+ @include background($backgrounds);
49
25
  }
50
26
 
51
27
 
52
28
  // Background image property support for vendor prefixing within values.
53
29
  @mixin background-image(
54
- $image-1,
55
- $image-2: false,
56
- $image-3: false,
57
- $image-4: false,
58
- $image-5: false,
59
- $image-6: false,
60
- $image-7: false,
61
- $image-8: false,
62
- $image-9: false,
63
- $image-10: false
30
+ $images...
64
31
  ) {
65
- $images: compact($image-1, $image-2, $image-3, $image-4, $image-5, $image-6, $image-7, $image-8, $image-9, $image-10);
66
32
  $add-pie-bg: prefixed(-pie, $images) or -compass-list-size($images) > 1;
67
33
 
68
34
  @if $experimental-support-for-svg and prefixed(-svg, $images) { background-image: -svg($images); background-size: 100%; }
69
- @if $support-for-original-webkit-gradients and prefixed(-owg, $images) { background-image: -owg($images); }
70
35
  @if $experimental-support-for-webkit and prefixed(-webkit, $images) { background-image: -webkit($images); }
71
36
  @if $experimental-support-for-mozilla and prefixed(-moz, $images) { background-image: -moz($images); }
72
37
  @if $experimental-support-for-opera and prefixed(-o, $images) { background-image: -o($images); }
@@ -80,7 +45,11 @@
80
45
  // any background-image properties that you have specified.
81
46
  //
82
47
  // For the `$orientation` parameter, you can pass `vertical` or `horizontal`.
83
- @mixin filter-gradient($start-color, $end-color, $orientation: vertical) {
48
+ @mixin filter-gradient(
49
+ $start-color,
50
+ $end-color,
51
+ $orientation: vertical
52
+ ) {
84
53
  @include has-layout;
85
54
  $gradient-type: if($orientation == vertical, 0, 1);
86
55
  @if $legacy-support-for-ie6 or $legacy-support-for-ie7 or $legacy-support-for-ie8 {
@@ -90,9 +59,10 @@
90
59
 
91
60
 
92
61
  // Border image property support for vendor prefixing properties and values.
93
- @mixin border-image($value) {
62
+ @mixin border-image(
63
+ $value
64
+ ) {
94
65
  @if $experimental-support-for-mozilla { -moz-border-image: -moz(reject(-compass-list($value), fill)); }
95
- @if $support-for-original-webkit-gradients { -webkit-border-image: -owg(reject(-compass-list($value), fill)); }
96
66
  @if $experimental-support-for-webkit { -webkit-border-image: -webkit(reject(-compass-list($value), fill)); }
97
67
  @if $experimental-support-for-opera { -o-border-image: -o(reject(-compass-list($value), fill)); }
98
68
  @if $experimental-support-for-svg { border-image: -svg(reject(-compass-list($value), fill)); }
@@ -100,9 +70,10 @@
100
70
  }
101
71
 
102
72
  // List style image property support for vendor prefixing within values.
103
- @mixin list-style-image($image) {
73
+ @mixin list-style-image(
74
+ $image
75
+ ) {
104
76
  @if $experimental-support-for-mozilla and prefixed(-moz, $image) { list-style-image: -moz($image); }
105
- @if $support-for-original-webkit-gradients and prefixed(-owg, $image) { list-style-image: -owg($image); }
106
77
  @if $experimental-support-for-webkit and prefixed(-webkit, $image) { list-style-image: -webkit($image); }
107
78
  @if $experimental-support-for-opera and prefixed(-o, $image) { list-style-image: -o($image); }
108
79
  @if $experimental-support-for-svg and prefixed(-svg, $image) { list-style-image: -svg($image); }
@@ -110,10 +81,11 @@
110
81
  }
111
82
 
112
83
  // List style property support for vendor prefixing within values.
113
- @mixin list-style($value) {
84
+ @mixin list-style(
85
+ $value
86
+ ) {
114
87
  $value: -compass-list($value);
115
88
  @if $experimental-support-for-mozilla and prefixed(-moz, $value) { list-style-image: -moz($value); }
116
- @if $support-for-original-webkit-gradients and prefixed(-owg, $value) { list-style-image: -owg($value); }
117
89
  @if $experimental-support-for-webkit and prefixed(-webkit, $value) { list-style-image: -webkit($value); }
118
90
  @if $experimental-support-for-opera and prefixed(-o, $value) { list-style-image: -o($value); }
119
91
  @if $experimental-support-for-svg and prefixed(-svg, $value) { list-style-image: -svg($value); }
@@ -121,12 +93,31 @@
121
93
  }
122
94
 
123
95
  // content property support for vendor prefixing within values.
124
- @mixin content($value) {
96
+ @mixin content(
97
+ $value
98
+ ) {
125
99
  $value: -compass-list($value);
126
100
  @if $experimental-support-for-mozilla and prefixed(-moz, $value) { content: -moz($value); }
127
- @if $support-for-original-webkit-gradients and prefixed(-owg, $value) { content: -owg($value); }
128
101
  @if $experimental-support-for-webkit and prefixed(-webkit, $value) { content: -webkit($value); }
129
102
  @if $experimental-support-for-opera and prefixed(-o, $value) { content: -o($value); }
130
103
  @if $experimental-support-for-svg and prefixed(-svg, $value) { content: -svg($value); }
131
104
  content: $value ;
132
105
  }
106
+
107
+ $use-legacy-gradient-syntax: false !default;
108
+
109
+ @function linear-gradient($angle, $details...) {
110
+ $legacy-syntax: $use-legacy-gradient-syntax;
111
+
112
+ @if type-of($angle) != 'number' {
113
+ $angle: compact($angle);
114
+ $legacy-syntax: if(index($angle, 'to'), false, true);
115
+ }
116
+
117
+ @if $legacy-syntax {
118
+ @return _linear-gradient_legacy($angle, $details...);
119
+ } @else {
120
+ @return _linear-gradient($angle, $details...);
121
+ }
122
+ }
123
+
@@ -1,22 +1,26 @@
1
+ // Regions
2
+
1
3
  @import "shared";
2
4
 
5
+ // @private css3-feature-support variables must always include a list of five boolean values
6
+ // representing in order: -moz, -webkit, -ms, -o, -khtml.
7
+ $regions-support: not -moz, -webkit, -ms, not -o, not -khtml;
8
+
3
9
  // Webkit, IE10 and future support for [CSS Regions](http://dev.w3.org/csswg/css3-regions/)
4
10
  //
5
- // $target is a value you use to link two regions of your css. Give the source of your content the flow-into property, and give your target container the flow-from property.
11
+ // $target is a value you use to link two regions of your css.
12
+ // Give the source of your content the flow-into property,
13
+ // and give your target container the flow-from property.
6
14
  //
7
15
  // For a visual explanation, see the diagrams at Chris Coyier's
8
16
  // [CSS-Tricks](http://css-tricks.com/content-folding/)
9
17
 
10
18
  @mixin flow-into($target) {
11
19
  $target: unquote($target);
12
- @include experimental(flow-into, $target,
13
- not -moz, -webkit, not -o, -ms, not -khtml, not official
14
- );
20
+ @include experimental(flow-into, $target, $regions-support...);
15
21
  }
16
22
 
17
23
  @mixin flow-from($target) {
18
24
  $target: unquote($target);
19
- @include experimental(flow-from, $target,
20
- not -moz, -webkit, not -o, -ms, not -khtml, not official
21
- );
22
- }
25
+ @include experimental(flow-from, $target, $regions-support...);
26
+ }
@@ -7,8 +7,8 @@
7
7
  @mixin experimental($property, $value,
8
8
  $moz : $experimental-support-for-mozilla,
9
9
  $webkit : $experimental-support-for-webkit,
10
- $o : $experimental-support-for-opera,
11
10
  $ms : $experimental-support-for-microsoft,
11
+ $o : $experimental-support-for-opera,
12
12
  $khtml : $experimental-support-for-khtml,
13
13
  $official : true
14
14
  ) {
@@ -24,8 +24,8 @@
24
24
  @mixin experimental-only-for($property, $value,
25
25
  $moz : false,
26
26
  $webkit : false,
27
- $o : false,
28
27
  $ms : false,
28
+ $o : false,
29
29
  $khtml : false,
30
30
  $official : false
31
31
  ) {
@@ -36,8 +36,8 @@
36
36
  @mixin experimental-value($property, $value,
37
37
  $moz : $experimental-support-for-mozilla,
38
38
  $webkit : $experimental-support-for-webkit,
39
- $o : $experimental-support-for-opera,
40
39
  $ms : $experimental-support-for-microsoft,
40
+ $o : $experimental-support-for-opera,
41
41
  $khtml : $experimental-support-for-khtml,
42
42
  $official : true
43
43
  ) {
@@ -1,13 +1,17 @@
1
+ // Text Shadow
2
+
1
3
  @import "shared";
2
4
 
5
+
3
6
  // These defaults make the arguments optional for this mixin
4
7
  // If you like, set different defaults in your project
5
8
 
6
- $default-text-shadow-color: #aaa !default;
7
- $default-text-shadow-h-offset: 0px !default;
8
- $default-text-shadow-v-offset: 0px !default;
9
- $default-text-shadow-blur: 1px !default;
10
- $default-text-shadow-spread: false !default;
9
+ $default-text-shadow-color : #aaa !default;
10
+ $default-text-shadow-h-offset : 0px !default;
11
+ $default-text-shadow-v-offset : 0px !default;
12
+ $default-text-shadow-blur : 1px !default;
13
+ $default-text-shadow-spread : false !default;
14
+
11
15
 
12
16
  // Provides cross-browser text shadows when one or more shadows are needed.
13
17
  // Each shadow argument should adhere to the standard css3 syntax for the
@@ -18,32 +22,23 @@ $default-text-shadow-spread: false !default;
18
22
  // then with the spread included. This allows you to progressively
19
23
  // enhance the browsers that do support the spread parameter.
20
24
  @mixin text-shadow(
21
- $shadow-1 : default,
22
- $shadow-2 : false,
23
- $shadow-3 : false,
24
- $shadow-4 : false,
25
- $shadow-5 : false,
26
- $shadow-6 : false,
27
- $shadow-7 : false,
28
- $shadow-8 : false,
29
- $shadow-9 : false,
30
- $shadow-10: false
25
+ $shadow...
31
26
  ) {
32
- @if $shadow-1 == default {
33
- $shadow-1: compact($default-text-shadow-h-offset $default-text-shadow-v-offset $default-text-shadow-blur $default-text-shadow-spread $default-text-shadow-color);
34
- }
27
+ $shadow: if(length($shadow) > 0, $shadow, default);
28
+ $default: -compass-space-list(compact($default-text-shadow-h-offset $default-text-shadow-v-offset $default-text-shadow-blur $default-text-shadow-spread $default-text-shadow-color));
35
29
  $shadows-without-spread: join((),(),comma);
36
30
  $shadows: join((),(),comma);
37
31
  $has-spread: false;
38
- @each $shadow in compact($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5,
39
- $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10) {
40
- @if length($shadow) > 4 {
32
+
33
+ @each $layer in $shadow {
34
+ $layer: if($layer == 'default', $default, $layer);
35
+ @if length($layer) > 4 {
41
36
  $has-spread: true;
42
- $shadows-without-spread: append($shadows-without-spread, nth($shadow,1) nth($shadow,2) nth($shadow,3) nth($shadow,5));
43
- $shadows: append($shadows, $shadow);
44
- } else {
45
- $shadows-without-spread: append($shadows-without-spread, $shadow);
46
- $shadows: append($shadows, $shadow);
37
+ $shadows-without-spread: append($shadows-without-spread, nth($layer,1) nth($layer,2) nth($layer,3) nth($layer,5));
38
+ $shadows: append($shadows, $layer);
39
+ } @else {
40
+ $shadows-without-spread: append($shadows-without-spread, $layer);
41
+ $shadows: append($shadows, $layer);
47
42
  }
48
43
  }
49
44
  @if $has-spread {
@@ -8,7 +8,7 @@
8
8
 
9
9
  @mixin apply-transform($transform) {
10
10
  @include experimental(transform, $transform,
11
- -moz, -webkit, -o, not -ms, not -khtml, official
11
+ -moz, -webkit, not -ms, -o, not -khtml, official
12
12
  );
13
13
  }
14
14
 
@@ -16,7 +16,7 @@
16
16
 
17
17
  @mixin apply-origin($origin) {
18
18
  @include experimental(transform-origin, $origin,
19
- -moz, -webkit, -o, not -ms, not -khtml, official
19
+ -moz, -webkit, not -ms, -o, not -khtml, official
20
20
  );
21
21
  }
22
22
 
@@ -32,7 +32,7 @@
32
32
  @include apply-origin($originx);
33
33
  }
34
34
  }
35
- }
35
+ }
36
36
 
37
37
  // A full transform mixin with everything you could want
38
38
  //
@@ -104,11 +104,11 @@ $default-skew-y : 5deg !default;
104
104
  $only3d: $only3d or -compass-list-size(-compass-list($origin)) > 2;
105
105
  @if $only3d {
106
106
  @include experimental(transform-origin, $origin,
107
- -moz, -webkit, -o, -ms, not -khtml, official
107
+ -moz, -webkit, -ms, -o, not -khtml, official
108
108
  );
109
109
  } @else {
110
110
  @include experimental(transform-origin, $origin,
111
- -moz, -webkit, -o, -ms, not -khtml, official
111
+ -moz, -webkit, -ms, -o, not -khtml, official
112
112
  );
113
113
  }
114
114
  }
@@ -147,11 +147,11 @@ $default-skew-y : 5deg !default;
147
147
  ) {
148
148
  @if $only3d {
149
149
  @include experimental(transform, $transform,
150
- -moz, -webkit, -o, -ms, not -khtml, official
150
+ -moz, -webkit, -ms, -o, not -khtml, official
151
151
  );
152
152
  } @else {
153
153
  @include experimental(transform, $transform,
154
- -moz, -webkit, -o, -ms, not -khtml, official
154
+ -moz, -webkit, -ms, -o, not -khtml, official
155
155
  );
156
156
  }
157
157
  }
@@ -179,7 +179,7 @@ $default-skew-y : 5deg !default;
179
179
  // values from 500 to 1000 are more-or-less "normal" - a good starting-point.
180
180
  @mixin perspective($p) {
181
181
  @include experimental(perspective, $p,
182
- -moz, -webkit, -o, -ms, not -khtml, official
182
+ -moz, -webkit, -ms, -o, not -khtml, official
183
183
  );
184
184
  }
185
185
 
@@ -190,7 +190,7 @@ $default-skew-y : 5deg !default;
190
190
  // where the two arguments represent x/y coordinates
191
191
  @mixin perspective-origin($origin: 50%) {
192
192
  @include experimental(perspective-origin, $origin,
193
- -moz, -webkit, -o, -ms, not -khtml, official
193
+ -moz, -webkit, -ms, -o, not -khtml, official
194
194
  );
195
195
  }
196
196
 
@@ -202,7 +202,7 @@ $default-skew-y : 5deg !default;
202
202
  // Browsers default to `flat`, mixin defaults to `preserve-3d`.
203
203
  @mixin transform-style($style: preserve-3d) {
204
204
  @include experimental(transform-style, $style,
205
- -moz, -webkit, -o, -ms, not -khtml, official
205
+ -moz, -webkit, -ms, -o, not -khtml, official
206
206
  );
207
207
  }
208
208
 
@@ -214,7 +214,7 @@ $default-skew-y : 5deg !default;
214
214
  // Browsers default to visible, mixin defaults to hidden
215
215
  @mixin backface-visibility($visibility: hidden) {
216
216
  @include experimental(backface-visibility, $visibility,
217
- -moz, -webkit, -o, -ms, not -khtml, official
217
+ -moz, -webkit, -ms, -o, not -khtml, official
218
218
  );
219
219
  }
220
220