Ticket #6408: 6408.patch

File 6408.patch, 668 bytes (added by Sa'ar Zac Elias, 9 years ago)
  • _source/plugins/autogrow/plugin.js

     
    1414                        newHeight;
    1515
    1616                // 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).
    1718                if ( CKEDITOR.env.ie )
    18                         newHeight = doc.getBody().$.scrollHeight + 24;
     19                        newHeight = doc.getBody().$.scrollHeight + ( CKEDITOR.env.quirks ? 0 : 24 );
    1920                else
    2021                        newHeight = doc.getDocumentElement().$.offsetHeight;
    2122
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy