Committed CSS patch from FMS (paul@jCa8...) to add support for the nth class of CSS.

improvements to tests are still to come.