DescriptionFix hover area for divs with css transforms
The problem is that a rotated div doesn't trigger the :hover state (or
the onclick javascript handler) when the Z coordinate is negative at the
location of the mouse.
Non transformed layers are now being hit last, not through or in-between
transformed layers.
The paint order says that the divs creating stacking contexts (including
transforms) are painted after the other siblings so they should be hit
tested in the reverse order. Also, a rotated div in a non-rotated parent
should be hit in its entire area, not hit its parent's background, even
if the z-coordinate is negative where the mouse is located.
BUG=321959
Patch Set 1 #
Total comments: 1
Patch Set 2 : adding layout test that fails with this approach. #
Messages
Total messages: 5 (0 generated)
|