2) Detecting overflow-scrolling in combination with detecting touch can be used to avoid a long-standing Android bug wherein overflow:auto results in content being basically inaccessible. See http://code.google.com/p/android/issues/detail?id=2911 for the bug.
The UCSF develop build currently uses this Modernizr test for both of these issues.
I propose that we include the css_overflow_scrolling test in our Modernizr build. This test is useful in at least two situations on mobile web sites:
1) -webkit-overflow-scrolling:touch can be used to get momentum scrolling on scrollable elements in iOS. This gives the scrollable element a more natural and iOS-like feel. See http://johanbrook.com/browsers/native-momentum-scrolling-ios-5/
2) Detecting overflow-scrolling in combination with detecting touch can be used to avoid a long-standing Android bug wherein overflow:auto results in content being basically inaccessible. See http://code.google.com/p/android/issues/detail?id=2911 for the bug.
The UCSF develop build currently uses this Modernizr test for both of these issues.