Skip to content
Permalink
Browse files

Support: Skip style-based tests when element.style is undefined

Fixes #14785
Ref #13754
Ref badcd1b
  • Loading branch information
gibson042 committed Feb 14, 2014
1 parent 70ac448 commit a7ea12a9a7c696a14455bfe4bfebf984dd329832
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/css/support.js
@@ -12,6 +12,10 @@ define([
container = document.createElement( "div" ),
div = document.createElement( "div" );

if ( !div.style ) {
return;
}

div.style.backgroundClip = "content-box";
div.cloneNode( true ).style.backgroundClip = "";
support.clearCloneStyle = div.style.backgroundClip === "content-box";

0 comments on commit a7ea12a

Please sign in to comment.
You can’t perform that action at this time.