Ticket #6408: 6408.patch
File 6408.patch, 668 bytes (added by , 14 years ago) |
---|
-
_source/plugins/autogrow/plugin.js
14 14 newHeight; 15 15 16 16 // We can not use documentElement to calculate the height for IE (#6061). 17 // It is not good for Quirks, yet using offsetHeight would also not work as expected (#6408). 17 18 if ( CKEDITOR.env.ie ) 18 newHeight = doc.getBody().$.scrollHeight + 24;19 newHeight = doc.getBody().$.scrollHeight + ( CKEDITOR.env.quirks ? 0 : 24 ); 19 20 else 20 21 newHeight = doc.getDocumentElement().$.offsetHeight; 21 22