DescriptionMake PositionAlgorithm<Strategy>::next() to use Strategy::index()
This patch changes |PositionAlgorithm<Strategy>::next()| to use
|Strategy::index(Node&)| instead of |Node::nodexIndex()| to compute offset
of node in parent node with DOM tree or composed tree base on |Strategy|
template parameter for correct behavior in |PositionInComposedTree|.
This patch is a preparation of templatizing |VisiblePosition|.
BUG=513568
TEST=PositionTest.NextNodeIndex
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199920
Patch Set 1 : 2015-08-03T16:32:43 #
Messages
Total messages: 11 (4 generated)
|