Ticket #6212: 6212_2.patch
File 6212_2.patch, 938 bytes (added by , 12 years ago) |
---|
-
_source/themes/default/theme.js
327 327 contents = CKEDITOR.document.getById( 'cke_contents_' + this.name ), 328 328 outer = resizeInner ? container.getChild( 1 ) : container; 329 329 330 // Resize the width first.331 // WEBKIT BUG: Webkit requires that we put the editor off from display when we332 // resize it. If we don't, the browser crashes!333 CKEDITOR.env.webkit && outer.setStyle( 'display', 'none' );334 330 // Set as border box width. (#5353) 335 331 outer.setSize( 'width', width, true ); 336 if ( CKEDITOR.env.webkit )337 {338 outer.$.offsetWidth;339 outer.setStyle( 'display', '' );340 }341 332 342 333 // Get the height delta between the outer table and the content area. 343 334 // If we're setting the content area's height, then we don't need the delta.