Implement the unitless length quirk for physical size properties

This commit is contained in:
Anthony Ramine 2017-04-24 17:31:03 +02:00
parent 0e7308e6dc
commit 65f74ea934
3 changed files with 11 additions and 25 deletions

View file

@ -158,6 +158,7 @@ ${helpers.predefined_type("flex-basis",
"computed::LengthOrPercentageOrAuto::Auto",
"parse_non_negative",
spec=spec % size,
allow_quirks=not logical,
animation_value_type="ComputedValue", logical = logical)}
% if product == "gecko":
% for min_max in ["min", "max"]: