Skip to content

Commit 93bee47

Browse files
committed
Core: Adjust comments & tests after dropping Safari 6 support
Support comments that mentioned only Safari < 7 were checked & updated to account for bugs existing in newer versions as well; Safari 6 support test results were removed. Refs gh-2482
1 parent bf48c21 commit 93bee47

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/event.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ jQuery.event = {
593593
event[ prop ] = originalEvent[ prop ];
594594
}
595595

596-
// Support: Safari 6.0+
596+
// Support: Safari 6-8+
597597
// Target should not be a text node (#504, #13143)
598598
if ( event.target.nodeType === 3 ) {
599599
event.target = event.target.parentNode;

src/offset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(
203203
};
204204
});
205205

206-
// Support: Safari<7+, Chrome<37+
206+
// Support: Safari<7-8+, Chrome<37-44+
207207
// Add the top/left cssHooks using jQuery.fn.position
208208
// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
209209
// Blink bug: https://code.google.com/p/chromium/issues/detail?id=229280

test/unit/css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ test( "show() after hide() should always set display to initial value (#14750)",
11211121
equal( div.css( "display" ), "list-item", "should get last set display value" );
11221122
});
11231123

1124-
// Support: IE < 11, Safari < 7
1124+
// Support: IE < 11
11251125
// We have to jump through the hoops here in order to test work with "order" CSS property,
11261126
// that some browsers do not support. This test is not, strictly speaking, correct,
11271127
// but it's the best that we can do.

test/unit/support.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
143143
"radioValue": true,
144144
"reliableMarginRight": true
145145
};
146-
} else if ( /(6|7)\.0(\.\d+|) safari/i.test( userAgent ) ) {
146+
} else if ( /7\.0(\.\d+|) safari/i.test( userAgent ) ) {
147147
expected = {
148148
"ajax": true,
149149
"boxSizingReliable": true,

0 commit comments

Comments
 (0)