Permalink
Browse files

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.

Closes gh-2857
  • Loading branch information...
1 parent 0b0d4c6 commit 28f0329a02c453ae26b6bc028b6aaeec578bef6f @zackhall zackhall committed with mgol Jan 22, 2016
Showing with 3 additions and 2 deletions.
  1. +3 −2 test/unit/support.js
@@ -53,16 +53,17 @@ 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,
"boxSizingReliable": true,
"checkClone": true,
"checkOn": true,
- "clearCloneStyle": false,
+ "clearCloneStyle": version >= 13,
"cors": true,
"createHTMLDocument": true,
"focusin": false,

0 comments on commit 28f0329

Please sign in to comment.