jStyleParser is a CSS parser written in Java. It has its own application interface that is designed to allow an efficient CSS processing in Java and mapping the values to the Java data types. It parses CSS 2.1 style sheets into structures that can be efficiently assigned to DOM elements. It is intended be the primary CSS parser for the CSSBox library. While handling errors, it is user agent conforming according to the CSS specification.
The toString of a source declaration for a property with multiple values including integer ones (e.g. padding: 10px 0 0 0) is incorrect: padding: 10.0px 000
This fixes the bug by adding the operator to the output of TermIntegerImpl.
(Sorry about the whitespace changes, eclipse decided to unify every indentation to tabs - if that is a problem, I can create a new commit)
The toString of a source declaration for a property with multiple values including integer ones (e.g.
padding: 10px 0 0 0
) is incorrect:padding: 10.0px 000
This fixes the bug by adding the operator to the output of TermIntegerImpl.
(Sorry about the whitespace changes, eclipse decided to unify every indentation to tabs - if that is a problem, I can create a new commit)