[Webkit-unassigned] [Bug 103972] New: Plugin input events are wrong in Chromium port when <object> has padding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 3 21:43:23 PST 2012


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

           Summary: Plugin input events are wrong in Chromium port when
                    <object> has padding
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: brettw at chromium.org
                CC: jamesr at chromium.org


Load this FLash video and hover over a button or right-click:
http://www.apexvj.com/hd/player?s=69525510
You can see that the coordinates are offset vertically.

This bug is due to us not taking into account element padding when converting mouse coordinates. It seems plugin event translation is done in the Chromium WebKit layer which bases the translation on the top-left of the element (which the padding comes after). If you remove the padding-top from this page, the coordinates are correct.

Chrome bug:
https://code.google.com/p/chromium/issues/detail?id=164021

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