Permalink
Browse files

Core: Add a support comment for Safari 8

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

Thanks @phistuck!

(cherry-picked from d242753)

Refs cfe468f
  • Loading branch information...
mgol committed Jul 20, 2015
1 parent 9162122 commit 9c373c31410deb8e4a11aa7ce226d5e9169c7852
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/core/support.js
View
@@ -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;

0 comments on commit 9c373c3

Please sign in to comment.