DescriptionUse fragmented bounding box for hit-test/paint clipping.
When calculating the bounding box used for hit testing and paint clipping,
use the visual bounding box from the union of the fragments instead of the
flow thread coordinates.
The physicalBoundingBox method returned a bounding box in flow thread
coordinates and not visual coordinates. Rename it to boundingBox and
introduce a fragmentedBoundingBox to find the visual one.
Fixed a bug negation bug in previously unused convertToLayerCoords that
takes a LayoutRect.
This fixes the regressions introduced by 18e0c42d.
R=mstensho@opera.com
BUG=359877
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183251
Patch Set 1 #
Total comments: 5
Patch Set 2 : Fixed review issues #Patch Set 3 : Calculate offset from enclosingPaginationLayer instead of compensating #
Total comments: 2
Patch Set 4 : Undid renaming #
Messages
Total messages: 14 (3 generated)
|