Bug 52102

Summary: a:focus inconsistant with IE/FF
Product: WebKit Reporter: Darth <priyajeet.hora>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: priyajeet.hora
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
anchor focusing none

Darth
Reported 2011-01-07 21:33:03 PST
Please try the code below in webkit, IE (greater than 7) and FF. Clicking the anchor should reveal the text by applying the :focus psuedo class to the span. However it doesn't in Safari and chrome. <!doctype html> <html> <head> <style> a span { display: none; } a:focus span { display: block; } </style> </head> <body> <a href="#">Click me to reveal - <span>some stuff</span></a> </body> </html> Downstream bug http://code.google.com/p/chromium/issues/detail?id=42157
Attachments
anchor focusing (224 bytes, text/html)
2011-01-07 21:33 PST, Darth
no flags
Darth
Comment 1 2011-01-07 21:33:47 PST
Created attachment 78302 [details] anchor focusing
Alexey Proskuryakov
Comment 2 2011-01-08 14:03:31 PST
*** This bug has been marked as a duplicate of bug 22261 ***
Alexey Proskuryakov
Comment 3 2011-01-08 14:07:12 PST
*** This bug has been marked as a duplicate of bug 18425 ***
Note You need to log in before you can comment on or make changes to this bug.