[Webkit-unassigned] [Bug 91723] New: display:inline's hover behavior is not applied consistently to <p>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 19 00:53:51 PDT 2012


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

           Summary: display:inline's hover behavior is not applied
                    consistently to <p>
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tim.okrongli at dextermedia.net


Created an attachment (id=153198)
 --> (https://bugs.webkit.org/attachment.cgi?id=153198&action=review)
Reduced test case (CSS hover style only)

When an element has "display: inline" the ::before and ::after pseudo-elements are not considered to be part of the actual elements for hovering purposes (hovering over them neither causes the :hover styles to be applied nor does it fire an onmouseover event). This is not the case, however, when a <p> has "display: inline" set.

Steps to reproduce:
1. Open the attached document.
2. Hover over the elements themselves (the upper case tag names) and their pseudo-elements (the lower case "before" and "after").

Expected behavior:
All lines behave the same way: Either the lines turn blue when the pseudo-elements are hovered (like in other browsers) or they only turn blue when the element proper is hovered.

Observed behavior:
The "SPAN" and "DIV" lines only turn blue when the element proper is hovered but the "P" line also turns blue when the pseudo-elements are hovered.

Observed with:
WebKit 534.55.3, Safari 5.1.5, Windows Vista
WebKit 563.5, Chrome 19.0.1084.52, Windows Vista
WebKit 535.19, Chromium 18.0.1025.168, Ubuntu Linux 11.10
WebKit 534.34, Arora 0.11.0, Ubuntu Linux 11.10

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