Index: trunk/extensions/VisualEditor/modules/es/models/es.DocumentModel.js |
— | — | @@ -816,11 +816,10 @@ |
817 | 817 | * To resolve these issues in a predictable way the following rules must be obeyed: |
818 | 818 | * 1. Structural elements are retained unless the range being removed covers the entire element |
819 | 819 | * 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 |
825 | 824 | * |
826 | 825 | * @method |
827 | 826 | * @param {es.Range} range |