File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ var processStyleName = memoizeStringOnly(function(styleName) {
30
30
} ) ;
31
31
32
32
var hasShorthandPropertyBug = false ;
33
- var styleFloatAccessor = 'cssFloat' ;
34
33
if ( ExecutionEnvironment . canUseDOM ) {
35
34
var tempStyle = document . createElement ( 'div' ) . style ;
36
35
try {
@@ -39,10 +38,6 @@ if (ExecutionEnvironment.canUseDOM) {
39
38
} catch ( e ) {
40
39
hasShorthandPropertyBug = true ;
41
40
}
42
- // IE8 only supports accessing cssFloat (standard) as styleFloat
43
- if ( document . documentElement . style . cssFloat === undefined ) {
44
- styleFloatAccessor = 'styleFloat' ;
45
- }
46
41
}
47
42
48
43
if ( __DEV__ ) {
@@ -215,8 +210,8 @@ var CSSPropertyOperations = {
215
210
styles [ styleName ] ,
216
211
component ,
217
212
) ;
218
- if ( styleName === 'float' || styleName === 'cssFloat' ) {
219
- styleName = styleFloatAccessor ;
213
+ if ( styleName === 'float' ) {
214
+ styleName = 'cssFloat' ;
220
215
}
221
216
if ( styleValue ) {
222
217
style [ styleName ] = styleValue ;
You can’t perform that action at this time.
0 commit comments