[Webkit-unassigned] [Bug 46253] New: :hover on an element only gets triggered if a link is inside the element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 22 02:16:44 PDT 2010


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

           Summary: :hover on an element only gets triggered if a link is
                    inside the element
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: peter at scheuerl.net


Created an attachment (id=68351)
 --> (https://bugs.webkit.org/attachment.cgi?id=68351)
simple testcase for :hover behaviour

On iOS (iPhone, iPod touch) the :hover gets triggered by a touch only if a link is present in the touched element.
For a Element X including another element Y and the following CSS rules:
X Y {display: none}
X:hover Y {display: block}
The :hover only gets recognized on touch, when there is a link in X and the link is touched.

On all other platforms the :hover gets recognized regardless of the content, as it should.

While a touch is not a hover, it would be nice if the behavior would be consistent, so that a :hover is triggered regardless of the content of the element.

UA:
Mozilla/5.0 (iPod; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7

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