WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 18425
60946
General (~) sibling selector with :focus pseudo class does not work
https://bugs.webkit.org/show_bug.cgi?id=60946
Summary
General (~) sibling selector with :focus pseudo class does not work
Dan Richman
Reported
2011-05-17 00:07:24 PDT
Created
attachment 93744
[details]
Test Case for Showing and Hiding a sibling using the general (~) sibling selector combined with the :focus pseudo class does not work in webkit. For instance, .hide:focus ~ #list {display:none} As a test case, see attached file or visit:
http://devfiles.myopera.com/articles/1861/css-menu-ex1.html
Attachments
Test Case for Showing and Hiding a sibling
(694 bytes, text/html)
2011-05-17 00:07 PDT
,
Dan Richman
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Dan Richman
Comment 1
2011-05-17 00:14:46 PDT
This bug prevents WebKit from being able to show and hide content from pure CSS as Opera and Mozilla are currently able to do:
http://dev.opera.com/articles/view/css3-show-and-hide/
Dominic Cooney
Comment 2
2011-05-17 00:52:22 PDT
Works for me in Chrome 13.0.761.0 (Official Build 84747) dev WebKit 534.35 (trunk@86061) if I use tab to focus the link and WebKit nightly
r86627
if I use Option-tab to focus the link.
Dan Richman
Comment 3
2011-05-17 06:45:11 PDT
Ah, you are correct. The problem lies in
Bug 18425
.
Dominic Cooney
Comment 4
2011-05-18 19:23:58 PDT
*** 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.
Top of Page
Format For Printing
XML
Clone This Bug