Ticket #6212: 6212_2.patch

File 6212_2.patch, 938 bytes (added by Garry Yao, 8 years ago)
  • _source/themes/default/theme.js

     
    327327                contents = CKEDITOR.document.getById( 'cke_contents_' + this.name ),
    328328                outer = resizeInner ? container.getChild( 1 ) : container;
    329329
    330         // Resize the width first.
    331         // WEBKIT BUG: Webkit requires that we put the editor off from display when we
    332         // resize it. If we don't, the browser crashes!
    333         CKEDITOR.env.webkit && outer.setStyle( 'display', 'none' );
    334330        // Set as border box width. (#5353)
    335331        outer.setSize( 'width',  width, true );
    336         if ( CKEDITOR.env.webkit )
    337         {
    338                 outer.$.offsetWidth;
    339                 outer.setStyle( 'display', '' );
    340         }
    341332
    342333        // Get the height delta between the outer table and the content area.
    343334        // If we're setting the content area's height, then we don't need the delta.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy