File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ if ( jQueryVersionSince( "3.4.0" ) && typeof Proxy !== "undefined" ) {
81
81
}
82
82
83
83
// In jQuery >=4 where jQuery.cssNumber is missing fill it with the latest 3.x version:
84
- // https://github.com/jquery/jquery/blob/3.6 .0/src/css.js#L212-L233
84
+ // https://github.com/jquery/jquery/blob/3.7 .0/src/css.js#L216-L246
85
85
// This way, number values for the CSS properties below won't start triggering
86
86
// Migrate warnings when jQuery gets updated to >=4.0.0 (gh-438).
87
87
if ( jQueryVersionSince ( "4.0.0" ) ) {
@@ -90,8 +90,9 @@ if ( jQueryVersionSince( "4.0.0" ) ) {
90
90
// in a `jQuery.fn.css` patch and this usage shouldn't warn.
91
91
internalCssNumber = {
92
92
animationIterationCount : true ,
93
+ aspectRatio : true ,
94
+ borderImageSlice : true ,
93
95
columnCount : true ,
94
- fillOpacity : true ,
95
96
flexGrow : true ,
96
97
flexShrink : true ,
97
98
fontWeight : true ,
@@ -106,9 +107,17 @@ if ( jQueryVersionSince( "4.0.0" ) ) {
106
107
opacity : true ,
107
108
order : true ,
108
109
orphans : true ,
110
+ scale : true ,
109
111
widows : true ,
110
112
zIndex : true ,
111
- zoom : true
113
+ zoom : true ,
114
+
115
+ // SVG-related
116
+ fillOpacity : true ,
117
+ floodOpacity : true ,
118
+ stopOpacity : true ,
119
+ strokeMiterlimit : true ,
120
+ strokeOpacity : true
112
121
} ;
113
122
114
123
if ( typeof Proxy !== "undefined" ) {
You can’t perform that action at this time.
0 commit comments