The W3C CSS working group has posted the last call working drafts of Selectors. "This document describes the selectors that already exist in CSS1 and CSS2, and also proposes new selectors for CSS3 and other languages that may need them." New features include
hr ~ p
matches a p
element following an hr
element.
:root
,
:nth-child()
,
:nth-last-child()
,
:nth-of-type()
,
:nth-last-of-type()
,
:first-child
,
:last-child
,
:first-of-type
,
:last-of-type
,
:only-child
,
:only-of-type
,
:empty
, and
negation pseudo-classes::selection
pseudo-elementComments are due by January 16.