z-index values should be integers
Pure Java HTML / CSS rendering engine
Status: Beta
Brought to you by:
radkovo
according to the specs, the value of z-index should be integer rather than float.
a small test case
String css = "p {z-index: 10;}";
StyleSheet styleSheet = CSSFactory.parse(css);
System.out.println(styleSheet);
Anonymous
Update:
The type of the Term is
TermInteger
but when we calltoString()
method we get floating point value.I have rewritten the toString() method, it should be fixed in master now.
Thanks for the fix @Radek. The test case passes.
Closed in 1.19