Implement the unitless length quirk for padding

This commit is contained in:
Anthony Ramine 2017-04-25 01:12:55 +02:00
parent 3f947395ad
commit dd6d3d62c6
2 changed files with 2 additions and 19 deletions

View file

@ -5,4 +5,5 @@
<%namespace name="helpers" file="/helpers.mako.rs" />
${helpers.four_sides_shorthand("padding", "padding-%s", "specified::LengthOrPercentage::parse",
spec="https://drafts.csswg.org/css-box-3/#propdef-padding")}
spec="https://drafts.csswg.org/css-box-3/#propdef-padding",
allow_quirks=True)}