A DESCRIPTION OF THE PROBLEM :
There is no way to get to the value that is actually in the stylesheet. The javafx.css.Declaration class encapsulates a property within a rule but the only value available is the parsed value which may require converting.
Adding a getRawValue or getUnparsedValue to the Declaration class that contains the text value associated with the property would make it easier for users to see what value is actually being applied to the node.
If performance is an issue then add a new overloaded CSSParser.parse (String, boolean) method where the boolean, when set to true, indicates that the unparsed value should be added to the declaration. The boolean would default to false to retain compatibility with the current release.
There is no way to get to the value that is actually in the stylesheet. The javafx.css.Declaration class encapsulates a property within a rule but the only value available is the parsed value which may require converting.
Adding a getRawValue or getUnparsedValue to the Declaration class that contains the text value associated with the property would make it easier for users to see what value is actually being applied to the node.
If performance is an issue then add a new overloaded CSSParser.parse (String, boolean) method where the boolean, when set to true, indicates that the unparsed value should be added to the declaration. The boolean would default to false to retain compatibility with the current release.