jStyleParser parses CSS2 and CSS3 into structures which can be assigned to DOM elements. While handling errors, it is a user agent conforming to specification.
All the source code of jStyleParser itself is licensed under the GNU Lesser General Public License (LGPL), version 3. A copy of the LGPL can be found in the LICENSE file.
See the project page for more information and downloads: http://cssbox.sourceforge.net/jstyleparser