Ticket #3601: 3601.patch

File 3601.patch, 910 bytes (added by Garry Yao, 14 years ago)
  • _source/themes/default/theme.js

     
    283283                contents = CKEDITOR.document.getById( 'cke_contents_' + this.name ),
    284284                outer = resizeInner ? container.getChild( 1 ) : container;
    285285
    286         // Resize the width first.
    287         // WEBKIT BUG: Webkit requires that we put the editor off from display when we
    288         // resize it. If we don't, the browser crashes!
    289         CKEDITOR.env.webkit && outer.setStyle( 'display', 'none' );
    290286        outer.setStyle( 'width', width );
    291         if ( CKEDITOR.env.webkit )
    292         {
    293                 outer.$.offsetWidth;
    294                 outer.setStyle( 'display', '' );
    295         }
    296287
    297288        // Get the height delta between the outer table and the content area.
    298289        // If we're setting the content area's height, then we don't need the delta.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy