mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Core: Add a support comment for Safari 8
Related issue: https://bugs.webkit.org/show_bug.cgi?id=137337 Thanks @phistuck! (cherry-picked fromd242753726
) Refscfe468f29c
This commit is contained in:
parent
9162122ba8
commit
9c373c3141
@ -2,6 +2,11 @@ define([
|
||||
"../var/support"
|
||||
], function( support ) {
|
||||
|
||||
// Support: Safari 8+
|
||||
// In Safari 8 documents created via document.implementation.createHTMLDocument
|
||||
// collapse sibling forms: the second one becomes a child of the first one.
|
||||
// Because of that, this security measure has to be disabled in Safari 8.
|
||||
// https://bugs.webkit.org/show_bug.cgi?id=137337
|
||||
support.createHTMLDocument = (function() {
|
||||
if ( !document.implementation.createHTMLDocument ) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user