DescriptionNeed to be inside the flow thread before converting a visual point.
Before we can convert from a visual point to a flow thread point, we need the
input point to be exactly relative to the flow thread, or we might end up
mapping it to the wrong column.
In other words, we need to add the flow thread object's location before
converting into the flow thread coordinate space. While the flow thread indeed
is at 0,0 (or at least close enough to 0,0) relatively to the multicol
container in very many cases, this isn't true when the multicol container is in
rtl writing-mode, or when it's scrollable, or even when the multicol container
has borders and/or padding.
BUG=663062
Committed: https://crrev.com/797ecc9d67798296b6c8fd2ced17f4716ccbb111
Cr-Commit-Position: refs/heads/master@{#439855}
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|