File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,14 @@ jQuery.extend({
50
50
51
51
// Exclude the following css properties to add px
52
52
cssNumber : {
53
- "zIndex " : true ,
53
+ "fillOpacity " : true ,
54
54
"fontWeight" : true ,
55
- "opacity" : true ,
56
- "zoom" : true ,
57
55
"lineHeight" : true ,
56
+ "opacity" : true ,
57
+ "orphans" : true ,
58
58
"widows" : true ,
59
- "orphans" : true
59
+ "zIndex" : true ,
60
+ "zoom" : true
60
61
} ,
61
62
62
63
// Add in properties whose names you wish to fix before
Original file line number Diff line number Diff line change @@ -475,3 +475,13 @@ test("widows & orphans #8936", function () {
475
475
476
476
$p . remove ( ) ;
477
477
} ) ;
478
+
479
+ test ( "Do not append px to 'fill-opacity' #9548" , 1 , function ( ) {
480
+
481
+ var $div = jQuery ( "<div>" ) . appendTo ( "#qunit-fixture" ) ;
482
+
483
+ $div . css ( "fill-opacity" , 0 ) . animate ( { "fill-opacity" : 1.0 } , 0 , function ( ) {
484
+ equal ( jQuery ( this ) . css ( "fill-opacity" ) , 1 , "Do not append px to 'fill-opacity'" ) ;
485
+ } ) ;
486
+
487
+ } ) ;
You can’t perform that action at this time.
0 commit comments