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

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 UTC