Changeset 7048


Ignore:
Timestamp:
06/14/11 16:27:46 (3 years ago)
Author:
garry.yao
Message:

#8050: autogrow produce lesser editor height caused by last paragraph's margin, regression of [7032].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_source/plugins/autogrow/plugin.js

    r7032 r7048  
    4242                } 
    4343 
    44                 var height = last.getDocumentPosition( doc ).y + last.$.offsetHeight; 
     44                var height = last.getDocumentPosition( doc ).y + last.$.offsetHeight + parseInt( last.getComputedStyle( 'margin-bottom' ) || 0, 10 ); 
    4545                last.isMarker && last.remove(); 
    4646                return height; 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy