Ticket #7324: 7324_2.patch
File 7324_2.patch, 1.1 KB (added by , 13 years ago) |
---|
-
_source/plugins/floatpanel/plugin.js
223 223 // http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug 224 224 // (#3426) 225 225 if ( CKEDITOR.env.ie && CKEDITOR.env.quirks && width > 0 ) 226 width += ( target.$.offsetWidth || 0 ) - ( target.$.clientWidth || 0 ) ;226 width += ( target.$.offsetWidth || 0 ) - ( target.$.clientWidth || 0 ) + 3; 227 227 // A little extra at the end. 228 228 // If not present, IE6 might break into the next line, but also it looks better this way 229 229 width += 4 ; … … 239 239 // http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug 240 240 // (#3426) 241 241 if ( CKEDITOR.env.ie && CKEDITOR.env.quirks && height > 0 ) 242 height += ( target.$.offsetHeight || 0 ) - ( target.$.clientHeight || 0 ) ;242 height += ( target.$.offsetHeight || 0 ) - ( target.$.clientHeight || 0 ) + 3; 243 243 244 244 target.setStyle( 'height', height + 'px' ); 245 245