I think this needs `validateCssUnit(width)`?