DescriptionTranslate flow thread coords to the nearest enclosing coord space when appropriate.
We used to always convert to the visual coordinate space, meaning that we
walked all enclosing fragmentation contexts. However, only the PaintLayer code
wants this behavior, while everyone else typically wants to do one
fragmentation context at a time, e.g. when walking the ancestry with
LayoutObject::mapLocalToAncestor().
For nested multicol, this caused invalidation bugs, problems with
getClientRects(), and maybe more.
Added an enum CoordinateSpaceConversion (with values "Containing" and "Visual")
for flowThreadTranslationAtOffset() to use to determine which conversion to
perform. The old behavior was to always do CoordinateSpaceConversion::Visual.
BUG=604883
Committed: https://crrev.com/e60405b884e8e5ac517a27e03a955a0f3a4f2c98
Cr-Commit-Position: refs/heads/master@{#388692}
Patch Set 1 #Patch Set 2 : Add a unit test too. #
Total comments: 2
Messages
Total messages: 12 (4 generated)
|