+ // It is not good for IE Quirks, yet using offsetHeight would also not work as expected (#6408).\r
+ // We do the same for FF because of the html height workaround (#6341).\r
+ if ( CKEDITOR.env.ie || CKEDITOR.env.gecko )\r
+ newHeight = doc.getBody().$.scrollHeight + ( CKEDITOR.env.ie && CKEDITOR.env.quirks ? 0 : 24 );\r