Bug 69888 - a span with visibility:hidden in an anchor makes it unclickable
Summary: a span with visibility:hidden in an anchor makes it unclickable
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 17:37 PDT by Mike Lawther
Modified: 2011-10-11 17:37 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lawther 2011-10-11 17:37:05 PDT
As reported in http://crbug.com/97970:

Test case:

    <a href="anything"><span style="visibility:hidden;">text here</span></a>

Expected: Text is invisible, but span still clickable
Actual: Text is invisible, span not clickable

In IE9 (Windows 7) and Firefox 7.0.1 (MacOS X 10.6) and Opera 11.51 (MacOS X 10.6), the text is invisible, but the underline renders and the link is still clickable.