[Webkit-unassigned] [Bug 81151] New: getIntersectionList incorrectly takes into account padding on ancestor DOM elements.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 14 13:36:57 PDT 2012


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

           Summary: getIntersectionList incorrectly takes into account
                    padding on ancestor DOM elements.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: okozlo at microsoft.com
                CC: zimmermann at kde.org


Created an attachment (id=131912)
 --> (https://bugs.webkit.org/attachment.cgi?id=131912&action=review)
Repro case

getIntersectionList appears take into account any padding that has been applied to ancestor DOM elements.

Steps to reproduce: 
1. Open attached mininmal repro (svg_getIntersectionList_padding_bug.svg). This repro attaches a mouse move handler that retrieves the intersected SVG elements directly under the pointer. If the rectangle is intersected, it is highlighted red, otherwise it is green.
2. Move mouse over the green rectangle. Expect rectangle to highlight red, but remains green.
3. Move mouse to screen position (200, 0). Rectangle is now highlighted red when it should not be.

Correct behaviour under IE9 and Opera.

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