scratch – Blame information for rev
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
58 | office | 1 | define( [ |
2 | "../var/document", |
||
3 | "../var/support" |
||
4 | ], function( document, support ) { |
||
5 | |||
6 | "use strict"; |
||
7 | |||
8 | // Support: Safari 8 only |
||
9 | // In Safari 8 documents created via document.implementation.createHTMLDocument |
||
10 | // collapse sibling forms: the second one becomes a child of the first one. |
||
11 | // Because of that, this security measure has to be disabled in Safari 8. |
||
12 | // https://bugs.webkit.org/show_bug.cgi?id=137337 |
||
13 | support.createHTMLDocument = ( function() { |
||
14 | var body = document.implementation.createHTMLDocument( "" ).body; |
||
15 | body.innerHTML = "<form></form><form></form>"; |
||
16 | return body.childNodes.length === 2; |
||
17 | } )(); |
||
18 | |||
19 | return support; |
||
20 | } ); |