Index: /CKEditor/tests/tt/5479/1.html
===================================================================
--- /CKEditor/tests/tt/5479/1.html	(revision 6482)
+++ /CKEditor/tests/tt/5479/1.html	(revision 6482)
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+	"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+	<title>Ticket: #5479 - Cursor after element in Enter mode BR</title>
+	<meta name="tags" content="editor,manual,all">
+	<script type="text/javascript" src="../../cktester/cell.js"></script>
+	<script>
+		YAHOO.util.Event.removeListener( window, 'load' );
+		window.onload = function ()
+		{
+			CKEDITOR.replace( 'editor1',
+			{
+				toolbar : "Basic",
+				enterMode : CKEDITOR.ENTER_BR,
+				height : 70
+			} );
+			
+			CKEDITOR.replace( 'editor2',
+			{
+				toolbar : "Basic",
+				enterMode : CKEDITOR.ENTER_BR,
+				height : 70
+			} );
+			
+			CKEDITOR.replace( 'editor3',
+			{
+				toolbar : "Basic",
+				enterMode : CKEDITOR.ENTER_BR,
+				height : 70
+			} );
+			CKEDITOR.replace( 'editor4',
+			{
+				toolbar : "Basic",
+				enterMode : CKEDITOR.ENTER_BR,
+				height : 70
+			} );
+		}
+	</script>
+</head>
+<body>
+<pre>
+=== Test Typing after page element ===
+ 
+ 1. Click on space below table in Eidtor 1 and start typing.
+  * Expected: blinking cursor is visible and typed text is placed below table
+ 1. Click on space below horizontal line in Editor 2 and start typing
+  * Expected: blinking cursor is visible and typed text is placed below line
+ 1. Click on space below page break line in Editor 3 and start typing 
+  * Expected: blinking cursor is visible and typed text is placed below page break
+ 1. Click on space outside table in Eidtor 4 and start typing.
+  * Expected: blinking cursor is visible and typed text is placed below table, table is not scrolled to top
+</pre>
+Editor 1 
+<textarea id="editor1" name="editor1">
+	<table>
+		<tbody>
+			<tr>
+				<td>
+					text</td>
+			</tr>
+		</tbody>
+	</table>
+</textarea>
+Editor 2
+<textarea id="editor2" name="editor2">
+	<hr />
+</textarea>
+Editor 3
+<textarea id="editor3" name="editor3">
+	<div style="page-break-after: always;"><span style="display: none;">&nbsp;</span></div>
+</textarea>
+Editor 4
+<textarea id="editor4" name="editor4">
+	<table>
+		<tbody>
+			<tr>
+				<td>
+					text</td>
+			</tr>
+			<tr>
+				<td>
+					text</td>
+			</tr>
+			<tr>
+				<td>
+					text</td>
+			</tr>
+			<tr>
+				<td>
+					text</td>
+			</tr>
+			<tr>
+				<td>
+					text</td>
+			</tr>
+			<tr>
+				<td>
+					text</td>
+			</tr>
+			<tr>
+				<td>
+					text</td>
+			</tr>
+			<tr>
+				<td>
+					text</td>
+			</tr>
+		</tbody>
+	</table>
+</textarea>
+</body>
+</html>
Index: /CKEditor/tests/tt/5479/2.html
===================================================================
--- /CKEditor/tests/tt/5479/2.html	(revision 6482)
+++ /CKEditor/tests/tt/5479/2.html	(revision 6482)
@@ -0,0 +1,55 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+	"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+	<title>Ticket: #5479 - Cursor after element Enter mode BR tc 2</title>
+	<meta name="tags" content="editor,manual,all">
+	<script type="text/javascript" src="../../cktester/cell.js"></script>
+	<script>
+		YAHOO.util.Event.removeListener( window, 'load' );
+		window.onload = function ()
+		{
+			CKEDITOR.replace( 'editor1',
+			{
+				//toolbar : "Basic",
+				enterMode : CKEDITOR.ENTER_BR,
+				//height : 70
+			} );
+			
+		}
+	</script>
+</head>
+<body>
+<pre>
+=== TC 1 ===
+ 
+ 1. Insert a table using the dialog.
+ 1. Click beneath.
+  * In elements path, only "body" should be visible
+ 1. Type a few words and press ENTER.
+  * Entered text should be placed below table
+  
+=== TC 2 ===
+
+ 1. Clear all contents
+ 1. Insert a table
+ 1. Type "AAA", and set cursor at the beginning of line
+ 1. Press enter 4 times (AAA was moved down)
+ 1. Click with a mouse below the table
+ 1. Type "BBB", press enter
+ * Cursor should be placed below BBB line.
+ 
+=== TC 3 ===
+IE 
+ 1. Clear all contents
+ 1. Insert a table
+ 1. Before typing any text, choose a color from color panel.
+ 1. Type some text
+  * Cursor should be placed below table and should be painted with selected color.
+ 1. Switch to Source and check if there is no redundant tags
+ 
+</pre>
+Editor 1 
+<textarea id="editor1" name="editor1"></textarea>
+</body>
+</html>
