Tests: Set Edge's expected support for clearCloneStyle to true

This is done for a version 13 or newer as the bug still exists in Edge
12.

(cherry-picked from 28f0329a02)

Closes gh-2857
This commit is contained in:
Zack Hall 2016-01-21 16:24:42 -08:00 committed by Michał Gołębiowski
parent f6257b2b3f
commit e456c30a2d

View File

@ -89,10 +89,11 @@ testIframeWithCallback(
);
( 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,
"appendChecked": true,
@ -102,7 +103,7 @@ testIframeWithCallback(
"change": true,
"checkClone": true,
"checkOn": true,
"clearCloneStyle": false,
"clearCloneStyle": version >= 13,
"cors": true,
"createHTMLDocument": true,
"cssFloat": true,