DescriptionHandle transformed descendants when drawing focus rings
Previously we use localToContainerPoint((0,0)) to calculate the offset
of a child when drawing focus rings. If the child is rotated, (0, 0)
won't be its top-left corner in container‘s coordinations.
Now use localToContainerQuad(childLocalFocusRingRect).enclosingBoundingBox().
Also updated RenderObject::absoluteFocusRingQuads() to be
transform-aware.
BUG=374168
TEST=transforms/transform-focus-ring.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175183
Patch Set 1 #Patch Set 2 : Fix inline-block under inline #
Total comments: 6
Patch Set 3 : Naming, update absoluteFocusRingQuads etc. #Patch Set 4 : Fix test failures (about rounding, etc.) #Patch Set 5 : Exclude the new flaky test. The other new test covers the change. #
Messages
Total messages: 25 (0 generated)
|