DescriptionIntroduce composed tree version of leftPositionOf()
This patch introduces composed tree version of |leftPositionOf()|
by templatizing original |leftPositionOf()| to work both DOM tree
position and composed tree position version for introducing composed tree
version of |VisibleSelection| class.
This patch also introduces |createVisiblePosition()| for
|PositionInComposdTreeWithAffinity| and templaizes
|honorEditingBoundaryAtOrAfter()| and |leftVisuallyDistinctCandidate()| used
by |leftPositionOf()|.
This patch is a preparation of making selection to handle granularity for web
component, http://crrev.com/1277863002
BUG=513568
TEST=n/a; no behavior changes
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201954
Patch Set 1 : 2015-09-08T16:21:19 #
Total comments: 3
Patch Set 2 : 2015-09-09T12:49:11 Add a comment about DOM version of leftPositoin() for composed tree #
Messages
Total messages: 11 (3 generated)
|