Index: /CKEditor/tests/tt/3678/1.html
===================================================================
--- /CKEditor/tests/tt/3678/1.html	(revision 4437)
+++ /CKEditor/tests/tt/3678/1.html	(revision 4437)
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Ticket: #3678</title>
+	<meta name="tags" content="editor,unit,all">
+	<script type="text/javascript" src="../../cktester/cell.js"></script>
+	<script>
+			var ts, tc, assert = CKEDITOR.test.assert, test = CKEDITOR.test;
+			YAHOO.tool.TestRunner.add( ts = new CKEDITOR.test.suites.editorTestSuite(
+				{
+						editorName : 'editor1',
+						name : document.title
+				} ) );
+
+			ts.add( tc = new YAHOO.tool.TestCase(
+				{
+					test_unlink_image_in_floated_div : function ()
+					{
+						var editor = ts.editor,
+							command = 'unlink';
+
+						// Force result data unformatted.
+						editor.dataProcessor.writer._.rules = {};
+						editor.focus();
+						test.setHtmlWithSelection(
+							editor.document.getBody(),
+							test.getValueAsHtml( 'test_editor_input' ) );
+						tc.wait( function ()
+						{
+							editor.execCommand( command );
+							assert.areEqual( test.getValueAsHtml( 'test_editor_output' ),
+												test.fixHtml( editor.getData(), false ), 'Unlink result doesn\'t match.' );
+
+						}, 1000 );
+					},
+
+					name : document.title
+				} ) );
+	</script>
+</head>
+<body>
+<textarea id="test_editor_input">
+	<div style="float:right">
+		<a href="http://a.com">[<img alt=""
+									src="http://dev.fckeditor.net/chrome/site/logos.gif"/>]</a>
+	</div>
+</textarea>	
+<textarea id="test_editor_output"><div style="float:right;"><img alt="" src="http://dev.fckeditor.net/chrome/site/logos.gif" /></div></textarea>
+</body>
+</html>
