[Webkit-unassigned] [Bug 21868] New: layerX and layerY on mouse events are very probably wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 24 14:22:31 PDT 2008


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

           Summary: layerX and layerY on mouse events are very probably
                    wrong
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simon.fraser at apple.com


MouseRelatedEvent::receivedTarget() has this comment:

    // Adjust layerX/Y to be relative to the layer.
    // FIXME: We're pretty sure this is the wrong defintion of "layer."
    // Our RenderLayer is a more modern concept, and layerX/Y is some
    // other notion about groups of elements (left over from the Netscape 4
days?);
    // we should test and fix this.

I was not able to find a description of "layer" here, but it seems to refer to
the parent positioned element. This is not necessarily the parent RenderLayer
(since we make RenderLayers for opacity etc).


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



More information about the webkit-unassigned mailing list