RESOLVED CONFIGURATION CHANGED76743
:only-child not showing in Webkit/Safari
https://bugs.webkit.org/show_bug.cgi?id=76743
Summary :only-child not showing in Webkit/Safari
Jeroen Schmit
Reported 2012-01-20 14:58:26 PST
I'm trying to get this to work: <!doctype html> <html> <style> section{ display: none; } section:only-child { display: block; } </style> <body> <section>This should be visible</section> </body> </html> I believe that the text 'This should be visible' should be visible. This is also the case in Firefox. Firebug, as well as Safari's Web Inspector think so as well. However, if you open the page in Safari (OSX and iPhone), the text is not showing. See also: http://stackoverflow.com/questions/8893673/only-child-not-showing-in-webkit-safari
Attachments
Test Case (211 bytes, text/html)
2022-07-12 16:29 PDT, Brent Fulgham
no flags
Brent Fulgham
Comment 1 2022-07-12 16:29:28 PDT
Created attachment 460834 [details] Test Case
Brent Fulgham
Comment 2 2022-07-12 16:29:40 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
Note You need to log in before you can comment on or make changes to this bug.