Skip to content

Commit

Permalink
detection for overflow-scrolling, for the new iOS v5b2 inertial scrol…
Browse files Browse the repository at this point in the history
…ling.
  • Loading branch information
paulirish committed Jun 25, 2011
1 parent 6e6580c commit 0308582
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions feature-detects/css-overflow-scrolling.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

// johanbrook.com/browsers/native-momentum-scrolling-ios-5/
// introduced in iOS5b2. Possible API may change...

Modernizr.addTest("overflowscrolling",function(){
return Modernizr.testAllProps("overflowScrolling");
});


0 comments on commit 0308582

Please sign in to comment.