Skip to content

Commit

Permalink
Merge pull request #657 from steveworkman/master
Browse files Browse the repository at this point in the history
Add feature detection for object-fit
  • Loading branch information
ryanseddon committed Aug 22, 2012
2 parents eeac09d + 1b01467 commit 7d87471
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions feature-detects/css-objectfit.js
@@ -0,0 +1,6 @@

// dev.opera.com/articles/view/css3-object-fit-object-position/

Modernizr.addTest('object-fit',
!!Modernizr.prefixed('objectFit')
);

0 comments on commit 7d87471

Please sign in to comment.