Ticket #7984: 7984.patch
File 7984.patch, 1010 bytes (added by , 13 years ago) |
---|
-
_source/plugins/autogrow/plugin.js
26 26 newHeight; 27 27 28 28 var delta = 29 // Delta height by checking scrollHeight.30 ( CKEDITOR.env.ie && CKEDITOR.env.quirks ? body.scrollHeight - body.clientHeight29 // Quirks calculation (including host page and document) requires 24 extra pixels (#7984). 30 ( ( CKEDITOR.env.quirks || doc.$.compatMode == 'BackCompat' ) && body.offsetHeight - body.clientHeight > 0 ? body.offsetHeight - body.clientHeight + 24 31 31 : htmlElement.scrollHeight - ( htmlElement.clientHeight || htmlElement.offsetHeight ) ) 32 32 // Negative scrollHeight (content reduced) is not supported in some browsers, figure it out by watching over the content size. 33 33 || ( body.clientHeight < lastContentHeight ? body.clientHeight - lastContentHeight : 0 );