Sha256: fcb28a4302e38ed0cf1cb3a1208ce57711c853ce3529015847a96599e33f7e90
Contents?: true
Size: 631 Bytes
Versions: 210
Compression:
Stored size: 631 Bytes
Contents
define( [ "../var/document", "../var/support" ], function( document, support ) { "use strict"; // Support: Safari 8 only // 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
210 entries across 182 versions & 25 rubygems