﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10934	Blur not fired correctly in Chrome or Safari	nik		"The blur event does not correctly fire in Chrome or Safari.  On first focus and blur it works, but then subsequently fails to fire if the content does not change in the editor.  If there is content in the editor and no text is selected, but the editor is given focus and the backspace key is used to delete characters, and then the editor is blurred, again the blur event does not fire (unless all of the content has been deleted).

Attached is a very simple example that should display an alert on blur.  If you try entering the editor, and then leaving the editor it will fire the first time.  Then try focusing the field, and without changing anything, blurring again, and the event will not fire.  After that you can try adding ''1234'' to the field, and blurring (which will fire the alert), and then going back in to the field (clicking after the 4, not selecting any text) and hitting the backspace key.  Then when you have ''123'' blur the editor and again the event will not fire.

I have reproduced this error with 4.2.2 and 4.3 beta, as well at the nightly updated on 01-Oct-2013 at 13:03 UTC.  The same behavior exists on Chrome 29 on Windows 7, as well as Safari 5.1 for Mountain Lion.

Attached is an example file, but the easiest way to reproduce it is with the following code:
{{{
<textarea name=""editor1""></textarea>

<script type=""text/javascript"">
	CKEDITOR.replace( 'editor1' );
	
	CKEDITOR.instances.editor1.on('blur', function() {
		alert('test');
	});
</script>
}}}"	Bug	closed	Normal		General		fixed		
