pub type Scale = Scale<Number>;
A specified CSS scale
scale
enum Scale { None, Scale(Number, Number, Number), }
‘none’
‘{1,3}’
Scale accepts | , so we parse it as NumberOrPercentage, and then convert into an Number if it’s a Percentage. https://github.com/w3c/csswg-drafts/pull/4396