Пример #1
0
 /** Return true if the browser supports cursor: none */
 public static boolean supportCSSCursorNone() {
   // TODO: check exactly which versions of safari don't support cursor: none
   return false == BrowserUtils.isSafari();
 }
Пример #2
0
 public static boolean isMainInterfaceTouch() {
   return BrowserUtils.isTouchSupported()
       || BrowserDetect.get().getOS().equals("iPhone/iPod")
       || BrowserDetect.get().getOS().equals("Android");
 }
Пример #3
0
 /** Returns true if the browser supports animations inside svg elements */
 public static boolean supportsDynamicSVG() {
   return false == BrowserUtils.isChrome();
 }