DescriptionRevert of Fixes for contenteditable caret and selection handling in Windows. (patchset #14 id:260001 of https://codereview.chromium.org/1377733002/ )
Reason for revert:
Breaks reporting of the selection when the focus is on a text leaf that is not an immediate sibling of the nearest non-text ancestor of the current object.
Original issue's description:
> Fixes for contenteditable caret and selection handling in Windows.
>
> 1. Reports a valid selection endpoint even when either the start or end of the selection fall outside the object.
> <div contenteditable>this <selection_start>is a <a href="#">link<selection_end></a>.</div>
> selection_start on the link element would be given as 0.
> 2. Does not report any selection on a parent object if there is no selection on the child objects.
> <div contenteditable><p>hi</p></div>
> nSelections on the div should be 0.
> BUG=527440
> R=dmazzoni@chromium.org
>
> Committed: https://crrev.com/d816a9211de3c355f0de5051fa5c517ef2321e1a
> Cr-Commit-Position: refs/heads/master@{#352236}
TBR=dmazzoni@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=527440
Patch Set 1 #Messages
Total messages: 6 (2 generated)
|