DescriptionMake inSameLine() in VisibleUnits.cpp to work with positions in composed tree
This patch makes |inSameLine()|, which is used in |VisiblePosition| constructor,
along with introducing composed tree versions of called functions, to work with
positions in composed tree for preparaing |VisiblePostion| constructor to
canonicalize a position in composed
tree instead of DOM tree.
This patch is result of collaboration work with hajimehoshi@chromium.org
for selection of web components. After this patch, we are going to
implement another strategies for the composed tree. We've already
prepared that at http://crrev.com/1106433002.
BUG=275851
TEST=n/a; No behavior changes.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197726
Patch Set 1 : all in one #Patch Set 2 : 2015-06-24T12:35:06 Import EditingTestBase #Patch Set 3 : 2015-06-24T16:52:19 Rebase #Patch Set 4 : 2015-06-24T16:57:02 Add EditingTestBase::updateLayoutAndStyleForPainting() #
Total comments: 2
Patch Set 5 : 2015-06-24T17:52:54 Get rid of redundant explict in RenderedPosition #
Messages
Total messages: 8 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||