radkovo / jStyleParser

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.
http://cssbox.sourceforge.net/jstyleparser/
GNU Lesser General Public License v3.0
92 stars 49 forks source link

Don't ignore operator in TermIntegerImpl.toString() #23

Closed ChristophKaser closed 9 years ago

ChristophKaser commented 9 years ago

At the moment, the operator is ignored int TermIntegerImpl.toString(). This causes issues with source declarations with multiple values, e.g. padding: 5px 0 0 0; becomes padding: 5.0px 000;

This commit fixes the issue.

radkovo commented 9 years ago

Great, thanks for this. However, could you please re-submit your patch with just changing the appropriate lines without re-formatting the whole file? Changing the whole file makes it difficult to track the change history later. Thanks!

ChristophKaser commented 9 years ago

Okay, I changed it.

radkovo commented 9 years ago

Many thanks!