mediawiki-extensions-Visual.../modules
Catrope 937607893c Fix selectNodes() bug reported by Inez
For <p>1<br/>2</p>, selectNodes([2,2]) correctly returned the end of the
first text node, but selectNodes([4,4]) returned index 2 in the
paragraph (i.e. between the break node and the second text node). The
correct behavior is to return the start of the second text node, i.e.
the mirror image of the behavior for [2,2].

Fixed this by applying the startBetween/endBetween logic only if the
relevant adjacent node is wrapped (or if it's missing). In the code,
this is expressed as !(adjacent node present && adjacent node wrapped).

Change-Id: Ie3b7fdf1de38ee253a798a7a73bc89734f4ca4fa
2012-10-17 16:09:49 -07:00
..
jquery (Bug 33094) Disallow invalid page titles in LinkInspector. 2012-09-14 14:51:26 +02:00
qunit Manage annotations in ve.AnnotationSet object 2012-09-06 14:39:38 -07:00
rangy
ve Fix selectNodes() bug reported by Inez 2012-10-17 16:09:49 -07:00