gnome
The Libcroco project is an effort to build a generic Cascading Style Sheet (CSS) parsing and manipulation toolkit that can be used by GNOME applications in need of CSS support.
provided is :
A parser module with : A SAC like api and A CSSOM like api.
A CSS2 selection engine
An XML/CSS layout/rendering engine