Add a method to map from DOM position to Logical position and the other way around to NGLayoutInputNode. This can either be computed during the PrepareLayout() step or be computed lazily.
Editing, selections and hit testing all require a way to map between the two.
Comment 1 by kojii@chromium.org
, Mar 8 2017Components: Blink>Layout