Core: Add a support comment for Safari 8

Related issue: https://bugs.webkit.org/show_bug.cgi?id=137337

Thanks @phistuck!

(cherry-picked from d242753726)

Refs cfe468f29c
This commit is contained in:
Michał Gołębiowski 2015-07-20 20:22:34 +02:00
parent 9162122ba8
commit 9c373c3141

View File

@ -2,6 +2,11 @@ define([
"../var/support" "../var/support"
], function( 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() { support.createHTMLDocument = (function() {
if ( !document.implementation.createHTMLDocument ) { if ( !document.implementation.createHTMLDocument ) {
return false; return false;