[Webkit-unassigned] [Bug 76743] New: :only-child not showing in Webkit/Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 20 14:58:26 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=76743

           Summary: :only-child not showing in Webkit/Safari
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jeroen at humanique.com


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

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list