Sha256: 46c0b4f4bef426e413a20c18a29d04000943e9e2b85e472c8b53f39caa44b04f
Contents?: true
Size: 612 Bytes
Versions: 70
Compression:
Stored size: 612 Bytes
Contents
define( [ "../var/document", "../var/support" ], function( document, 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() { var body = document.implementation.createHTMLDocument( "" ).body; body.innerHTML = "<form></form><form></form>"; return body.childNodes.length === 2; } )(); return support; } );
Version data entries
70 entries across 70 versions & 6 rubygems