style: Get rid of parse_specified.

It has a single use, and I don't think we should use it in the future.
This commit is contained in:
Emilio Cobos Álvarez 2017-11-07 23:38:22 +01:00
parent 693c3dcfb2
commit 7adad61db8
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 39 additions and 30 deletions

View file

@ -160,6 +160,11 @@ ${helpers.predefined_type("order", "Integer", "0",
animation_value_type="ComputedValue",
spec="https://drafts.csswg.org/css-flexbox/#order-property")}
// FIXME(emilio): All the sizes stuff, and the MozLength values should be
// unified with Servo, or at least be less hacky.
//
// The block direction ones don't even accept extremum lengths during parsing,
// and should be converted to just LengthOrPercentage.
% if product == "gecko":
// FIXME: Gecko doesn't support content value yet.
${helpers.gecko_size_type("flex-basis", "MozLength", "auto()",