commit 4c75ec3e66a16ac1a239857c2c1df714f3b52a3d Author: Xiaocheng Hu <xiaoc...@chromium.org> Date: Wed May 08 07:18:10 2019
[Editing] Add a new web test for up/down caret movement
This patch adds a new web test for up/down caret movement crossing blocks with large margin and padding. This is preparation for implementing hit test based up/down caret movements.
It seems very hard to pull editing behavior handling from hit test to call sites.
The biggest blocker is multicol, which does its custom ancestor-to-local point conversion in PositionForPoint(). It's very hard to recover the same conversion at call site, unless we make PositionForPoint() return a lot more of auxiliary information besides the result Position.
Anyway, I found a way not to mess with editing behavior in hit-test based up and down.