Fixed incorrect calculation when entering "0.0" as value. Now it's acting the same way as "0".
@@ -300,7 +300,7 @@ def getSize(value, relative=0, base=None, default=0.0):
# XXX W3C says, use 96pdi
# http://www.w3.org/TR/CSS21/syndata.html#length-units
return float(value[:-2].strip()) * dpi96
- elif value in ("none", "0", "auto"):
+ elif value in ("none", "0", '0.0', "auto"):
return 0.0
elif relative:
if value[-3:] == 'rem': # XXX
