OWL ITS + 탐지시스템(인터넷 진흥원)
jhjang
2021-10-14 84eb87b232706a8599184b1e9166ad798b1a3f1a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
} );