Description[Android] Round instead if truncate for selection coordinates
Composited selection coordinates are in floating pointer DIPs. However,
current APIs for manipulating the selection are all in integral
coordinates. This leads to cases where an adjusted selection can
chaotically hop across selection region boundaries.
Until all platforms adopt unified selection and we transition the APIs
to use floating point coordinates, use rounded coordinates when
manipulating the selection from the browser.
BUG=489852
Committed: https://crrev.com/f7bf4534d8d520cbb2d8f4e896beec4368067ed9
Cr-Commit-Position: refs/heads/master@{#330640}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|