Description[New Multicolumn] Make layer bounding boxes visual and relative to "root".
The bounding box needs to be the union of all the box's fragments.
There's one fragment for each column in which the box occurs.
In addition to being a union of all fragments, the bounding box needs to
be relative to the "root"/"ancestor" layer. If the root layer is also
inside the fragmentation context, we need to find the visual position of
the root layer as well (which may very well be in a different column than
the layer we're working on).
A lot was already almost correct in RenderLayer::fragmentsBoundingBox(),
while it was completely missing in RenderLayer::boundingBoxForCompositing().
Added a helper convertFromFlowThreadToVisualBoundingBoxInAncestor() to
deal with this piece of advanced technology in one place.
BUG=359877
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183766
Patch Set 1 #
Total comments: 6
Patch Set 2 : Code review. Improved comment. Use will-change where possible. #
Total comments: 21
Patch Set 3 : Code review. Reference to bug and minor code cleanup. #Patch Set 4 : code review. Don't use multicol in refs. #
Total comments: 4
Patch Set 5 : final code review #Patch Set 6 : Skip two failing tests in the old multicol implementation. #Messages
Total messages: 27 (7 generated)
|