[Webkit-unassigned] [Bug 113584] New: Using position: absolute to hide span in link highlights all text below when right clicking the link

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 29 08:15:50 PDT 2013


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

           Summary: Using position: absolute to hide span in link
                    highlights all text below when right clicking the link
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://jsfiddle.net/ellenh/hVG5d/
        OS/Version: Mac OS X 10.8
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ellenetdom at yahoo.com


Created an attachment (id=195747)
 --> (https://bugs.webkit.org/attachment.cgi?id=195747&action=review)
A page showing the problem (same as jsfiddle)

W3C recommends adding a hidden span containing informative text to links like "read more". They use position: absolute to hide the span, as does html5 boilerplate using a method suggested by Jonathan Snook.

However, in webkit on Mac (Safari, Chrome, and Webkit nightly) when you right click on such a link, instead of only highlighting the link itself, everything below the link is also highlighted. Very ugly...

I've made a fiddle to show this, and have attached the same in a html file.

I think I found a workaround using display: inline-block instead of position:absolute, but still.

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