@@ -199,7 +199,12 @@ return /******/ (function(modules) { // webpackBootstrap
199199 if ( style ) {
200200 style [ prefixes . transition + 'TimingFunction' ] = ease ;
201201 style [ prefixes . transition + 'Duration' ] = duration + 'ms' ;
202- style [ prefixes . transform ] = 'translate3d(' + to + 'px, 0, 0)' ;
202+
203+ if ( prefixes . hasTranslate3d ) {
204+ style [ prefixes . transform ] = 'translate3d(' + to + 'px, 0, 0)' ;
205+ } else {
206+ style [ prefixes . transform ] = 'translate(' + to + 'px, 0)' ;
207+ }
203208 }
204209 }
205210
@@ -602,7 +607,7 @@ return /******/ (function(modules) { // webpackBootstrap
602607/* 2 */
603608/***/ function ( module , exports ) {
604609
605- 'use strict' ;
610+ /* WEBPACK VAR INJECTION */ ( function ( global ) { 'use strict' ;
606611
607612 Object . defineProperty ( exports , "__esModule" , {
608613 value : true
@@ -615,9 +620,11 @@ return /******/ (function(modules) { // webpackBootstrap
615620 var transform = undefined ;
616621 var transition = undefined ;
617622 var transitionEnd = undefined ;
623+ var hasTranslate3d = undefined ;
618624
619625 ( function ( ) {
620- var style = document . createElement ( '_' ) . style ;
626+ var el = document . createElement ( '_' ) ;
627+ var style = el . style ;
621628
622629 var prop = undefined ;
623630
@@ -642,14 +649,21 @@ return /******/ (function(modules) { // webpackBootstrap
642649 if ( style [ prop = 'transform' ] === '' ) {
643650 transform = prop ;
644651 }
652+
653+ document . body . insertBefore ( el , null ) ;
654+ style [ transform ] = 'translate3d(0, 0, 0)' ;
655+ hasTranslate3d = ! ! global . getComputedStyle ( el ) . getPropertyValue ( transform ) ;
656+ document . body . removeChild ( el ) ;
645657 } ) ( ) ;
646658
647659 return {
648660 transform : transform ,
649661 transition : transition ,
650- transitionEnd : transitionEnd
662+ transitionEnd : transitionEnd ,
663+ hasTranslate3d : hasTranslate3d
651664 } ;
652665 }
666+ /* WEBPACK VAR INJECTION */ } . call ( exports , ( function ( ) { return this ; } ( ) ) ) )
653667
654668/***/ } ,
655669/* 3 */
0 commit comments