[Webkit-unassigned] [Bug 111336] New: [CSS Regions] Hit testing is broken with regions that have rounded corners

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 4 08:58:17 PST 2013


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

           Summary: [CSS Regions] Hit testing is broken with regions that
                    have rounded corners
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mibalan at adobe.com
                CC: WebkitBugTracker at adobe.com
            Blocks: 57312


Created an attachment (id=191255)
 --> (https://bugs.webkit.org/attachment.cgi?id=191255&action=review)
Ref-test highlighting the problem

If a region has rounded corners (via border-radius), it still receives mouse events as if it wouldn't (e.g. hit area is still rectangular).

In the attached test case, moving the mouse cursor over both the green and the red dot at the top left of the yellow circle should make it appear on a green background (via CSS :hover).

However, if the yellow circle is a region, the mouse events will propagate to its parent only over the would-be-rectangular border (green dot) and not inside the area between the rectangular border and the actual circular border (red dot).

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