Implement the unitless length quirk for margin-*

This commit is contained in:
Anthony Ramine 2017-04-24 17:48:16 +02:00
parent 72186c200c
commit bcc6d4580d
2 changed files with 1 additions and 54 deletions

View file

@ -15,6 +15,7 @@
${helpers.predefined_type("margin-%s" % side[0], "LengthOrPercentageOrAuto",
"computed::LengthOrPercentageOrAuto::Length(Au(0))",
alias=maybe_moz_logical_alias(product, side, "-moz-margin-%s"),
allow_quirks=not side[1],
animation_value_type="ComputedValue", logical = side[1], spec = spec,
allowed_in_page_rule=True)}
% endfor