Ticket #7324: 7324_2.patch

File 7324_2.patch, 1.1 KB (added by Garry Yao, 13 years ago)
  • _source/plugins/floatpanel/plugin.js

     
    223223                                                                // http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug
    224224                                                                // (#3426)
    225225                                                                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;
    227227                                                                // A little extra at the end.
    228228                                                                // If not present, IE6 might break into the next line, but also it looks better this way
    229229                                                                width += 4 ;
     
    239239                                                                // http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug
    240240                                                                // (#3426)
    241241                                                                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;
    243243
    244244                                                                target.setStyle( 'height', height + 'px' );
    245245
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy