Implement the unitless length quirk for position properties

This commit is contained in:
Anthony Ramine 2017-04-24 13:27:10 +02:00
parent 91cc30046b
commit 46913ffe1d
3 changed files with 586 additions and 306 deletions

View file

@ -13,7 +13,8 @@
${helpers.predefined_type(side, "LengthOrPercentageOrAuto",
"computed::LengthOrPercentageOrAuto::Auto",
spec="https://www.w3.org/TR/CSS2/visuren.html#propdef-%s" % side,
animation_value_type="ComputedValue")}
animation_value_type="ComputedValue",
allow_quirks=True)}
% endfor
// offset-* logical properties, map to "top" / "left" / "bottom" / "right"
% for side in LOGICAL_SIDES: