Support <length> and <percent>

are there any cases in CSS of types that are substrings of other types? This is possibly even forbidden by CSS' parsing style / approach.