Index: _whatsnew.html
===================================================================
--- _whatsnew.html	(revision 1433)
+++ _whatsnew.html	(working copy)
@@ -64,6 +64,8 @@
 			was not loading on an specific unknown situation. The breaking point has been removed.</li>
 		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1707">#1707</a>] The editor
 			no longer hangs when operating on documents imported from Microsoft Word.</li>
+		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1336">#1336</a>] Sometimes
+			the autogrow plugin didn't work properly in Firefox.</li>
 	</ul>
 	<p>
 		<a href="_whatsnew_history.html">See previous versions history</a>
Index: editor/plugins/autogrow/fckplugin.js
===================================================================
--- editor/plugins/autogrow/fckplugin.js	(revision 1433)
+++ editor/plugins/autogrow/fckplugin.js	(working copy)
@@ -63,6 +63,13 @@
 			return ;
 
 		window.frameElement.height = iMainFrameSize ;
+
+		// Gecko browsers use an onresize handler to update the innermost
+		// IFRAME's height. If the document is modified before the onresize
+		// is triggered, the plugin will miscalculate the new height. Thus,
+		// forcibly trigger onresize. #1336
+		if ( typeof window.onresize === 'function' )
+			window.onresize() ;
 	}
 }
 
@@ -89,4 +96,4 @@
 		FCKAutoGrow_Check() ;
 }
 
-FCK.Events.AttachEvent( 'OnStatusChange', FCKAutoGrow_CheckEditorStatus ) ;
\ No newline at end of file
+FCK.Events.AttachEvent( 'OnStatusChange', FCKAutoGrow_CheckEditorStatus ) ;
