Ticket #768: 768.patch
File 768.patch, 1.1 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
41 41 </ul> 42 42 <p> 43 43 Fixed Bugs:</p> 44 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/768">#768</a>] It is no longer possible 45 for an image to have its width and height defined with both HTML attributes and inline CSS 46 styles in IE.</li> 44 47 <ul> 45 48 <li></li> 46 49 </ul> -
editor/_source/internals/fckxhtml.js
400 400 if ( sSavedUrl != null ) 401 401 FCKXHtml._AppendAttribute( node, 'src', sSavedUrl ) ; 402 402 403 // Bug #768 : If the width and height are defined inline CSS, 404 // don't define it again in the HTML attributes. 405 if ( htmlNode.style.width ) 406 node.removeAttribute( 'width' ) ; 407 if ( htmlNode.style.height ) 408 node.removeAttribute( 'height' ) ; 409 403 410 return node ; 404 411 }, 405 412