Chromium Code Reviews
DescriptionIntroduce Position::nodeAsRangeLastNode
This CL introduces Position::nodeAsRangeLastNode which returns a
previous node of nodeAsRangePastLastNode. This function will be used at
VisibleSelection for the composed tree (crrev.com/1194833002).
This CL also adds tests for Position.
This CL is a split of crrev.com/1194833002.
This patch is result of collaboration work with yosin@chromium.org
for selection of web components. We've already prepared the new
node-traversal usages at crrev.com/1188063002.
BUG=275851
TEST=webkit_unit_tests --gtest_filter=PositionTest.*
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197554
Patch Set 1 #
Total comments: 4
Patch Set 2 : reviews #
Messages
Total messages: 13 (5 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||