private static boolean supportsTransform3d ( ) { if ( transform == null ) { return false ; } String rotate = "rotateY(1deg)" ; divStyle . setProperty ( transform , rotate ) ; rotate = divStyle . getProperty ( transform ) ; return rotate != null && ! rotate . isEmpty ( ) ; }
Some browsers like HTMLUnit only support 2d transformations