[Webkit-unassigned] [Bug 42455] New: click event not caught by elements after a negative translateZ

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 16 07:59:23 PDT 2010


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

           Summary: click event not caught by elements after a negative
                    translateZ
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: peter.bannier at gmail.com


Created an attachment (id=61806)
 --> (https://bugs.webkit.org/attachment.cgi?id=61806)
Bug example

Hi!
I can't figure out what's the real problem ... 

When I do a negative translateZ on a div which has :
- a specific className
- an onclick eventListener attached to it.

Here is the portion :

var eDIV = document.createElement('div');
eDIV.className = "cube";
document.getElementById('environment').appendChild(eDIV);
eDIV.style.webkitTransform = 'translateZ(-100px)';
eDIV.addEventListener( 'click',function(){console.log(this.className);}, false );

Well, when I click on the div, no clickEvent is caught ... to be more precise I should add that sometimes it works as expected !! what I find really strange ...

Does anyone has a clue about what's going on' ?

I attached a zip file containing the source code in order to reproduce the problem ... 
thanks in advance,

-- 
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