Refactoring the Length type

from blog Federico's Blog, | ↗ original
CSS length values have a number and a unit, e.g. 5cm or 6px. Sometimes the unit is a percentage, like 50%, and SVG says that lengths with percentage units should be resolved with respect to a certain rectangle. For example, consider this circle element: cx="50%" cy="75 …