Skip to content
Browse files

detection for overflow-scrolling, for the new iOS v5b2 inertial scrol…

…ling.
  • Loading branch information...
1 parent 6e6580c commit 03085827980cdd8b1417469ca49a4c5aed06b05d @paulirish paulirish committed Jun 25, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 feature-detects/css-overflow-scrolling.js
View
9 feature-detects/css-overflow-scrolling.js
@@ -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.
Something went wrong with that request. Please try again.