Roan Kattouw
|
117c785d85
|
Improve the merging logic in prepareRemoval() to also allow merging nested nodes, e.g. by deleting </p></li><li><p>
|
2011-11-17 19:23:15 +00:00 |
|
Roan Kattouw
|
be994da373
|
Make selectNodes() also descend (recurse) into child nodes when only the start or only the end is in the middle of a child node. Without this, it was stuff like ranges with only openings and no closings.
|
2011-11-17 15:01:47 +00:00 |
|
Roan Kattouw
|
2c21250c70
|
Make selectNodes() not return an empty array when encountering a zero-length selection in a structural location (we don't do this for zero-length selections in content locations either, and the empty array is breaking an assumption I was making in my prepareRemoval rewrite)
|
2011-11-17 14:50:38 +00:00 |
|
Roan Kattouw
|
ef478bfe7b
|
Make the selectNodes tests log their failures to the console
|
2011-11-17 14:42:14 +00:00 |
|
Roan Kattouw
|
e8899405e9
|
Fix bug in compare() which caused it to return true for arrays of unequal length (!!)
|
2011-11-17 14:21:39 +00:00 |
|
Trevor Parscal
|
cd033e02c4
|
Renamed es.DocumentNode.test to es.DocumentBranchNode.test to reflect it's contents
|
2011-11-16 19:35:18 +00:00 |
|