File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,11 @@ if ( jQuery.css ) {
3131}
3232
3333( function ( ) {
34- var expected ,
34+ var expected , version ,
3535 userAgent = window . navigator . userAgent ;
3636
3737 if ( / c h r o m e / i. test ( userAgent ) ) {
38+ version = userAgent . match ( / c h r o m e \/ ( \d + ) / i ) [ 1 ] ;
3839 expected = {
3940 "ajax" : true ,
4041 "boxSizingReliable" : true ,
@@ -46,7 +47,7 @@ if ( jQuery.css ) {
4647 "noCloneChecked" : true ,
4748 "optDisabled" : true ,
4849 "optSelected" : true ,
49- "pixelPosition" : true ,
50+ "pixelPosition" : version >= 28 ,
5051 "radioValue" : true ,
5152 "reliableMarginRight" : true
5253 } ;
@@ -114,10 +115,27 @@ if ( jQuery.css ) {
114115 "radioValue" : true ,
115116 "reliableMarginRight" : true
116117 } ;
118+ } else if ( / 5 \. 1 \. \d + s a f a r i / i. test ( userAgent ) ) {
119+ expected = {
120+ "ajax" :true ,
121+ "boxSizingReliable" : true ,
122+ "checkClone" :false ,
123+ "checkOn" :false ,
124+ "clearCloneStyle" : true ,
125+ "cors" :true ,
126+ "focusinBubbles" :false ,
127+ "noCloneChecked" :true ,
128+ "optDisabled" :true ,
129+ "optSelected" :true ,
130+ "pixelPosition" : false ,
131+ "radioValue" :true ,
132+ "reliableMarginRight" :true
133+ } ;
117134 } else if ( / f i r e f o x / i. test ( userAgent ) ) {
135+ version = userAgent . match ( / f i r e f o x \/ ( \d + ) / i ) [ 1 ] ;
118136 expected = {
119137 "ajax" : true ,
120- "boxSizingReliable" : true ,
138+ "boxSizingReliable" : version >= 23 ,
121139 "checkClone" : true ,
122140 "checkOn" : true ,
123141 "clearCloneStyle" : true ,
You can’t perform that action at this time.
0 commit comments