This is done for a version 13 or newer as the bug still exists in Edge 12.
Closes gh-2857
);
( function() {
- var expected,
+ var expected, version,
userAgent = window.navigator.userAgent;
if ( /edge\//i.test( userAgent ) ) {
+ version = userAgent.match( /edge\/(\d+)/i )[ 1 ];
expected = {
"ajax": true,
"boxSizingReliable": true,
"checkClone": true,
"checkOn": true,
- "clearCloneStyle": false,
+ "clearCloneStyle": version >= 13,
"cors": true,
"createHTMLDocument": true,
"focusin": false,