Skip to content
Browse files

fourvalues -> shorthand. bgpos detect.

  • Loading branch information...
1 parent 743cbe2 commit 1c0f5d1dd5a1a093595b1fd0eff87e8e74c9a578 @paulirish paulirish committed Jul 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 feature-detects/css-backgroundposition-shorthand.js
View
2 feature-detects/css-backgroundposition-shorthand.js
@@ -11,7 +11,7 @@
eStyle = elem.style,
val = "right 10px bottom 10px";
- Modernizr.addTest('bgpositionfourvalues', function(){
+ Modernizr.addTest('bgpositionshorthand', function(){
eStyle.cssText = "background-position: " + val + ";";
return (eStyle.backgroundPosition === val);
});

0 comments on commit 1c0f5d1

Please sign in to comment.
Something went wrong with that request. Please try again.