aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2015-07-27 22:14:48 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2015-07-27 22:19:57 +0200
commit5fce498e4263f11ed4c688e5304999e63c395367 (patch)
tree4ded87360a56a140aaef2f016120feee538fcf9c /src
parent15f48047bcf01389643e1561de9907c417529e83 (diff)
downloadjquery-5fce498e4263f11ed4c688e5304999e63c395367.tar.gz
jquery-5fce498e4263f11ed4c688e5304999e63c395367.zip
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. (cherry-picked from 93bee4701d14202045a88aab156da0daf9418430) Refs gh-2482
Diffstat (limited to 'src')
-rw-r--r--src/event.js2
-rw-r--r--src/offset.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js
index b17d8c54a..95849e84e 100644
--- a/src/event.js
+++ b/src/event.js
@@ -572,7 +572,7 @@ jQuery.event = {
event.target = originalEvent.srcElement || document;
}
- // Support: Safari 6.0+
+ // Support: Safari 6-8+
// Target should not be a text node (#504, #13143)
if ( event.target.nodeType === 3 ) {
event.target = event.target.parentNode;
diff --git a/src/offset.js b/src/offset.js
index cdca242f4..43bf20b7c 100644
--- a/src/offset.js
+++ b/src/offset.js
@@ -215,6 +215,7 @@ jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(
};
});
+// Support: Safari<7-8+, Chrome<37-44+
// Add the top/left cssHooks using jQuery.fn.position
// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
// getComputedStyle returns percent when specified for top/left/bottom/right