From ddea94bb9650db0aaeaa8f5faf4da4227e0ebad2 Mon Sep 17 00:00:00 2001 From: Eric Meyer Date: Wed, 16 Mar 2011 16:11:55 -0600 Subject: [PATCH] fixed transform-style typo caught by @doctyper --- Gemfile.lock | 2 +- frameworks/compass/stylesheets/compass/css3/_transform.scss | 2 +- test/fixtures/stylesheets/compass/css/transform.css | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 9ff9fa15..df3b38ba 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - compass (0.11.beta.2.132621c) + compass (0.11.beta.2.5a5c30c) chunky_png (~> 0.12.0) sass (>= 3.1.0.alpha.218) diff --git a/frameworks/compass/stylesheets/compass/css3/_transform.scss b/frameworks/compass/stylesheets/compass/css3/_transform.scss index e6fa3b4b..1ecd7787 100644 --- a/frameworks/compass/stylesheets/compass/css3/_transform.scss +++ b/frameworks/compass/stylesheets/compass/css3/_transform.scss @@ -201,7 +201,7 @@ $default-skew-y : 5deg !default; // where `style` can be either `flat` or `preserves-3d` // browsers default to `flat`, mixin defaults to `preserves-3d` @mixin transform-style($style: preserves-3d) { - @include experimental(perspective-origin, $style, + @include experimental(transform-style, $style, not -moz, -webkit, not -o, not -ms, not -khtml, official ); } diff --git a/test/fixtures/stylesheets/compass/css/transform.css b/test/fixtures/stylesheets/compass/css/transform.css index 73ba64ec..11509863 100644 --- a/test/fixtures/stylesheets/compass/css/transform.css +++ b/test/fixtures/stylesheets/compass/css/transform.css @@ -40,8 +40,8 @@ perspective-origin: 25% 25%; } .transform-style { - -webkit-perspective-origin: preserves-3d; - perspective-origin: preserves-3d; } + -webkit-transform-style: preserves-3d; + transform-style: preserves-3d; } .backface-visibility { -webkit-backface-visibility: hidden;