diff options
Diffstat (limited to 'src/css/support.js')
-rw-r--r-- | src/css/support.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/css/support.js b/src/css/support.js index df0f3a2b2..8623979e2 100644 --- a/src/css/support.js +++ b/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"; |