Ticket #3601: 3601.patch
File 3601.patch, 910 bytes (added by , 14 years ago) |
---|
-
_source/themes/default/theme.js
283 283 contents = CKEDITOR.document.getById( 'cke_contents_' + this.name ), 284 284 outer = resizeInner ? container.getChild( 1 ) : container; 285 285 286 // Resize the width first.287 // WEBKIT BUG: Webkit requires that we put the editor off from display when we288 // resize it. If we don't, the browser crashes!289 CKEDITOR.env.webkit && outer.setStyle( 'display', 'none' );290 286 outer.setStyle( 'width', width ); 291 if ( CKEDITOR.env.webkit )292 {293 outer.$.offsetWidth;294 outer.setStyle( 'display', '' );295 }296 287 297 288 // Get the height delta between the outer table and the content area. 298 289 // If we're setting the content area's height, then we don't need the delta.