Batik CSS engine

Batik includes a fully functional CSS engine that supports CSS Level 2. While this engine is used to support CSS functionality in SVG documents, it is generic and can be used for any application where a CSS engine is required to perform the cascade.

Note that Batik’s CSS engine does not implement the box model to perform layout, as used by HTML browsers. It implements only the interfaces needed to apply stylesheets to an XML document and to then query or update the elements’ cascaded values.