[Webkit-unassigned] [Bug 36951] New: -webkit-transform:rotateX on images causes mouse focus not to work properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 1 05:03:17 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=36951

           Summary: -webkit-transform:rotateX on images causes mouse focus
                    not to work properly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://jeutarot.macricow.com/bug.php
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: macricow at gmail.com


On images which are transformed with -webkit-transform, the focus doesn't
behave properly.

You can check it on the joined URL and understand why it does behave like this.
On this page, you can test mouseover on images transformed with rotateX,rotateY
and rotateZ thanks to the select form at the top of the page.

Example 1. shows images with no transform : you can mouseover the images
Example 2. shows images with a simple rotate transformation (transform-origin
at 50% 50% by default) : you can mouseover the image on half of it.
Example 3. shows the same as Ex 2 but with a transform origin set to 0px 0px :
the part of the image which is not focusable depends on the transform-origin.
Example 4. shows both images with and without transform on the same plane

In fact, the part of the image which is considered to be under the base plan is
not clickable, «mouseoverable», nor focusable. There is absolutely no issue
with rotateZ since this rotation is a on a 2D plane. Both rotateX and rotateY
have an issue though.

This behavior is always reproducible on the latest nightly build as well as on
the latest Macintosh Safari release (4.0.5).

Note that it is NOT on the latest Chrome Macintosh release (5.0.342.7).

The way Webkit and Safari manage the transformation can't be considered as
wrong compared to Chrome's way, but we should be able to focus any part of an
image when there is nothing in front of it.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list