W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2009

[Bug 8568] New: CSS validator does not recognise :last-child

From: <bugzilla@wiggum.w3.org>
Date: Tue, 29 Dec 2009 10:37:14 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-8568-169@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8568

           Summary: CSS validator does not recognise :last-child
           Product: Validator
           Version: HEAD
          Platform: Other
               URL: http://jigsaw.w3.org/css-
                    validator/validator?uri=http://www.quirksmode.org/css/fi
                    rstchild.html
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Website
        AssignedTo: dave.null@w3.org
        ReportedBy: bbodi@web.de
         QAContact: www-validator-cvs@w3.org


Created an attachment (id=800)
 --> (http://www.w3.org/Bugs/Public/attachment.cgi?id=800)
Reduced XHTML file reproducing the bug.

The stylesheet for http://www.quirksmode.org/css/firstchild.html contains the
rejected rule
tr.compheader:last-child th {
        border: none;
}
Note that the :first-child pseudo class appears to work fine in the same
stylesheet.

A more minimalistic show case is the attached XHTML file with embedded CSS,
containing the rules:
p:first-child { color: red; }
p:last-child { color: blue; }


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 29 December 2009 10:37:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:16 GMT