Permalink
Browse files

Removed redundant warning message while rendering background gradient.

  • Loading branch information...
1 parent 957ee35 commit ad69aaa1182b4d4bfecd6f743d093fc779a314da sega committed Mar 16, 2015
Showing with 0 additions and 5 deletions.
  1. +0 −5 sources/IE9BackgroundRenderer.js
@@ -45,11 +45,6 @@ PIE.IE9BackgroundRenderer = PIE.RendererBase.newRenderer( {
me.bgPositionToString( img.bgPosition ) + ' / ' + bgSize.w + 'px ' + bgSize.h + 'px ' +
( img.bgAttachment || '' ) + ' ' + ( img.bgOrigin || '' ) + ' ' + ( img.bgClip || '' )
);
- } else {
- var elHtml = me.targetElement.outerHTML.length <= 100 ? me.targetElement.outerHTML
- : me.targetElement.outerHTML.substring(0, 100) + " ... ";
- console.warn("Cannot render linear-gradient [" + bgInfo._lastCss
- + "] for [" + elHtml + "] due to its empty area; its width: " + bgAreaSize.w + ", height: " + bgAreaSize.h);
}
} else {
bg.push( img.origString );

0 comments on commit ad69aaa

Please sign in to comment.