Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 5995)
+++ /CKEditor/trunk/CHANGES.html	(revision 5996)
@@ -87,4 +87,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/5446">#5446</a> : Setting config.filebrowserImageBrowseUrl results in displaying also Browser Server on links.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/5626">#5626</a> : CKeditor 3.2.1 : html content attached makes ckeditor crash the browser FF/IE.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6508">#6508</a> : BiDi: Margin mirroring logic doesn't honor CSS direction.</li>
 		<li>Updated the following language files:<ul>
 			<li><a href="http://dev.ckeditor.com/ticket/6427">#6427</a> : Ukrainian;</li>
Index: /CKEditor/trunk/_source/plugins/indent/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/indent/plugin.js	(revision 5995)
+++ /CKEditor/trunk/_source/plugins/indent/plugin.js	(revision 5996)
@@ -399,6 +399,6 @@
 					if ( node.type == CKEDITOR.NODE_ELEMENT )
 					{
-						// A child with dir defined is to be ignored.
-						if ( !node.equals( e.data ) && node.hasAttribute( 'dir' ) )
+						// A child with the defined dir is to be ignored.
+						if ( !node.equals( e.data ) && node.getDirection() )
 						{
 							range.setStartAfter( node );
