Skip to content

Commit

Permalink
Moving backgroundsize test into feature-detects/css-backgroundsize.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rupl committed Sep 23, 2012
1 parent 707d66f commit 16fb6c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 5 additions & 0 deletions feature-detects/css-backgroundsize.js
@@ -0,0 +1,5 @@

// This will false positive in Opera Mini
// github.com/Modernizr/Modernizr/issues/396

Modernizr.addTest('backgroundsize', Modernizr.testAllProps('backgroundSize'));
7 changes: 0 additions & 7 deletions modernizr.js
Expand Up @@ -400,13 +400,6 @@ window.Modernizr = (function( window, document, undefined ) {
* -----
*/

// this will false positive in Opera Mini
// github.com/Modernizr/Modernizr/issues/396

tests['backgroundsize'] = function() {
return testPropsAll('backgroundSize');
};

tests['borderimage'] = function() {
return testPropsAll('borderImage');
};
Expand Down

0 comments on commit 16fb6c5

Please sign in to comment.