Bug 52102 - a:focus inconsistant with IE/FF
Summary: a:focus inconsistant with IE/FF
Status: RESOLVED DUPLICATE of bug 18425
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-07 21:33 PST by Darth
Modified: 2011-01-08 14:07 PST (History)
1 user (show)

See Also:


Attachments
anchor focusing (224 bytes, text/html)
2011-01-07 21:33 PST, Darth
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darth 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
Comment 1 Darth 2011-01-07 21:33:47 PST
Created attachment 78302 [details]
anchor focusing
Comment 2 Alexey Proskuryakov 2011-01-08 14:03:31 PST

*** This bug has been marked as a duplicate of bug 22261 ***
Comment 3 Alexey Proskuryakov 2011-01-08 14:07:12 PST

*** This bug has been marked as a duplicate of bug 18425 ***