r103486 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103485‎ | r103486 | r103487 >
Date:18:26, 17 November 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Simplified documentation
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/models/es.DocumentModel.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/models/es.DocumentModel.js
@@ -816,11 +816,10 @@
817817 * To resolve these issues in a predictable way the following rules must be obeyed:
818818 * 1. Structural elements are retained unless the range being removed covers the entire element
819819 * 2. Elements can only be merged if they are
820 - * 2a. of the same type
821 - * 2b. of the same depth
822 - * 2c. share at least one ancestor fo the same type
823 - * 3. Merge takes place at the highest ancestor that both nodes share when each ancestral step
824 - * has the same type and depth
 820+ * 2a. Same type
 821+ * 2b. Same depth
 822+ * 2c. Types match at each level up to a common ancestor
 823+ * 3. Merge takes place at the highest common ancestor
825824 *
826825 * @method
827826 * @param {es.Range} range

Status & tagging log