This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Created attachment 800 [details] 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; }
:first-child is in CSS2, but not :last-child which is in CSS3 (and is supported)