From a7a8ccab622962fd89642d35af0f6aea5f0edec4 Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Mon, 2 Jan 2012 01:30:10 -0500 Subject: [PATCH] added tests for transition-duration via #575 --- .../stylesheets/compass/css/transition.css | 14 ++++++++++++++ .../stylesheets/compass/sass/transition.scss | 2 ++ 2 files changed, 16 insertions(+) diff --git a/test/fixtures/stylesheets/compass/css/transition.css b/test/fixtures/stylesheets/compass/css/transition.css index 2671cb7a..1d34c025 100644 --- a/test/fixtures/stylesheets/compass/css/transition.css +++ b/test/fixtures/stylesheets/compass/css/transition.css @@ -12,3 +12,17 @@ -ms-transition: all 0.6s ease-out 0.2s; -o-transition: all 0.6s ease-out 0.2s; transition: all 0.6s ease-out 0.2s; } + +.transition-duration-string { + -webkit-transition-duration: 0.2s, 0.5s, 0.2s; + -moz-transition-duration: 0.2s, 0.5s, 0.2s; + -ms-transition-duration: 0.2s, 0.5s, 0.2s; + -o-transition-duration: 0.2s, 0.5s, 0.2s; + transition-duration: 0.2s, 0.5s, 0.2s; } + +.transition-duration-list { + -webkit-transition-duration: 0.2s, 0.5s, 0.2s; + -moz-transition-duration: 0.2s, 0.5s, 0.2s; + -ms-transition-duration: 0.2s, 0.5s, 0.2s; + -o-transition-duration: 0.2s, 0.5s, 0.2s; + transition-duration: 0.2s, 0.5s, 0.2s; } \ No newline at end of file diff --git a/test/fixtures/stylesheets/compass/sass/transition.scss b/test/fixtures/stylesheets/compass/sass/transition.scss index 8cee1166..9fa9edde 100644 --- a/test/fixtures/stylesheets/compass/sass/transition.scss +++ b/test/fixtures/stylesheets/compass/sass/transition.scss @@ -2,3 +2,5 @@ .single-transition-without-delay { @include single-transition(all, 0.6s, ease-out); } .single-transition-with-delay { @include single-transition(all, 0.6s, ease-out, 0.2s); } +.transition-duration-string { @include transition-duration("0.2s, 0.5s, 0.2s"); } +.transition-duration-list { @include transition-duration((0.2s, 0.5s, 0.2s)); } \ No newline at end of file