Skip to content

Commit 9c373c3

Browse files
committed
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
1 parent 9162122 commit 9c373c3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/support.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ define([
22
"../var/support"
33
], function( support ) {
44

5+
// Support: Safari 8+
6+
// In Safari 8 documents created via document.implementation.createHTMLDocument
7+
// collapse sibling forms: the second one becomes a child of the first one.
8+
// Because of that, this security measure has to be disabled in Safari 8.
9+
// https://bugs.webkit.org/show_bug.cgi?id=137337
510
support.createHTMLDocument = (function() {
611
if ( !document.implementation.createHTMLDocument ) {
712
return false;

0 commit comments

Comments
 (0)