jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 243 forks source link

Removed outdated css prefixes #407

Closed iainbeeston closed 9 years ago

iainbeeston commented 9 years ago

I use autoprefixer in my rails project (it automatically adds vendor specific prefixes to css rules when necessary). However, it's reporting that some of the css in teaspoon is using invalid css for linear gradients:

autoprefixer: /Users/iain/.gem/ruby/2.2.3/gems/teaspoon-1.0.2/app/assets/stylesheets/teaspoon.css:124:3: Gradient has outdated direction syntax. New syntax is like "to left" instead of "right".

Rather than correct the syntax for gradients, instead I've removed all css vendor prefixes that are no longer required by current browsers, based on caniuse. The only prefixed rule left is -webkit-transform, as apparently current versions of safari (version 8.x) still require the prefix.

mikepack commented 9 years ago

Thanks Iain!