Support <length> and <percent>