mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Updated 3d transform test to accomodate FF10.
This commit is contained in:
parent
733bda9a04
commit
b52551d9a3
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@
|
|||
-webkit-backface-visibility:hidden;
|
||||
-webkit-transform:translateX(0); /* Needed to work around an iOS 3.1 bug that causes listview thumbs to disappear when -webkit-visibility:hidden is used. */
|
||||
-moz-backface-visibility:hidden;
|
||||
-moz-transform:translateX(0); /* Needed to work around an iOS 3.1 bug that causes listview thumbs to disappear when -webkit-visibility:hidden is used. */
|
||||
-moz-transform:translateX(0);
|
||||
}
|
||||
|
||||
.flip.out {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ function propExists( prop ) {
|
|||
// Thanks to Modernizr src for this test idea
|
||||
function transform3dTest() {
|
||||
var prop = "transform-3d";
|
||||
return $.mobile.media( "(-" + vendors.join( "-" + prop + "),(-" ) + "-" + prop + "),(" + prop + ")" );
|
||||
return propExists( 'perspective' ) || $.mobile.media( "(-" + vendors.join( "-" + prop + "),(-" ) + "-" + prop + "),(" + prop + ")" );
|
||||
}
|
||||
|
||||
// Test for dynamic-updating base tag support ( allows us to avoid href,src attr rewriting )
|
||||
|
|
|
|||
Loading…
Reference in a new issue